Hi,
I need an implementation process of custom RTE plug-in for font size change of the selected word or sentence available inside text field of text component. This feature is available into RTE option of this message body(T). Please suggest the process.
Solved! Go to Solution.
Views
Replies
Total Likes
Please note that the RTE plugin I have published [1] was tested on 6.3, and may not work on 6.5, but this article [1] can be used to create a new plugin and the concept is the same. I will try to update the plugin.
[1] https://mkbansal.wordpress.com/2016/01/09/aem-rte-custom-styles-plugin-touch-ui/
Hi @user03109 ,
Please visit this article to create custom plugin for RTE: https://www.bounteous.com/insights/2022/01/06/custom-rich-text-editor-plugins-adobe-experience-manag...
Hope that helps!
Regards,
Santosh
@user03109 AEM RTE OOB provide a Styles plugin which allow you to apply custom css class on selected text in RTE. Styles plugin is a good way to add custom class around any text and is easy to configure though this plugin has some limitation:
This bring a need to have multiple plugins similar to Styles plugin eg. fontstyle, fontcolor & fontsize. So that we can easily decorate our content with correct style.
Reference: https://mkbansal.wordpress.com/2016/01/09/aem-rte-custom-styles-plugin-touch-ui/
https://aem4beginner.blogspot.com/touch-ui-rte-html-element-selector
Thanks
Please note that the RTE plugin I have published [1] was tested on 6.3, and may not work on 6.5, but this article [1] can be used to create a new plugin and the concept is the same. I will try to update the plugin.
[1] https://mkbansal.wordpress.com/2016/01/09/aem-rte-custom-styles-plugin-touch-ui/