RE: Installing plugins CkEditor Liferay 7.4

Jamie Sammons, modified 2 Years ago. Junior Member Posts: 96 Join Date: 2/4/14 Recent Posts

Hi, 

Im trying to customize the liferay 7.4 ckeditor toolbar adding the accesibility checker plugin (ay11cheker).

I found the following information to do that but its not working for me

  • https://liferay.dev/blogs/-/blogs/add-custom-plugin-to-ckeditor-toolbar-
  • https://liferay.dev/ask/questions/portal/re-configure-ckeditor-on-liferay-7-13

I have created the class that implements DynamicInclude including the ay11checker and balloonpanel plugins. 

I have created also the class that extends BaseEditorConfigContributor to override the method 'populateConfigJSONObject' including those two plugins to extraPlugins field of the JsonObject.

Both files *.js are including because i can access them through the web inspector and i can check in the DOM that some html code are including but the icon of the ay11checker is not appearing in the ckeditor toolbar, what i missing?

Sebastian Wikholm, modified 2 Years ago. Regular Member Posts: 110 Join Date: 3/10/11 Recent Posts

Did you find a solution to your problem? Im facing similiar problems as i can not add anything to the toolbar. According to documentation i should only need to extend BaseEditorConfigContributor, to use buttons already included in ckeditor or alloyeditor, but still when the JsonObject is empty in populateConfigJSONObject its hard to follow the tutorials as these asume that the config is populated.