Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
How to do full justify(justify on both left and right) in RTE apart from
justify#justifyleft
justify#justifycenter
justify#justifyright
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Hi,
OOTB you can do justify left, right and centre. which basically add inline style text-align:<value>. e.g. text-align:left
You can modify existing plugin and add one more option/type alignment which is text-align:justify
Thanks
Arun
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Hi @Deleted Account
Is it possible to extend the functionality of this plugin to vertical-align: top/middle/bottom ?
If yes, then where can I add the on click events of those icons.
Thanks.
Vistas
Respuestas
Total de me gusta
Thanks for the response
Which one should i be using for existing plugin js, both carry the same code( i tried coralui2 path)
/libs/clientlibs/granite/richtext/core/js/plugins/JustifyPlugin.js
/libs/cq/ui/coralui2/rte/core/plugins/JustifyPlugin.js
Within the JS is this the correct way to add justify full
'justify': {
'title': CUI.rte.Utils.i18n('plugins.justify.fullTitle'),
'text': CUI.rte.Utils.i18n('plugins.justify.fullText')
}
Please suggest
TIA
Vistas
Respuestas
Total de me gusta
HI,
You should be using granite UI rather than coarl2.
/libs/clientlibs/granite/richtext/core/js/plugins/JustifyPlugin.js is the plugin file but you need to add extra plugin option in dialog jsp file as well.
/libs/dam/cfm/admin/components/authoring/contenteditor/toolbar/toolbar.jsp
Thansk
Arun
Vistas
Respuestas
Total de me gusta
Just use :
justify#justifyjustifyIt worked for me well.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas