liferay-7web-content

How to enable TextColor & FontSize selection option in WYSIWYG editor for web content in liferay DXP


I am having a html field in web content in liferay 7. i am using liferay default WYSIWYG editor. I want to allow user to change the text color and background.

Let me know if anyone has idea to achieve this.

Thanks


Solution

  • The default inline editor is the AlloyEditor. The dev documentation can be found here https://alloyeditor.com/docs/develop/. There are examples of how to add new control elements.

    Another possibility is to switch Liferay to use the old CK editor that was in the previous versions.