Issue
- We followed this blog post to create a custom CKEditor 4 module in workspace.
- We can see that CKEDITOR.plugins.registered but, we are not able to see it on the CK Editor toolbar UI in Liferay 7.4 portal.
Environment
- Quarterly Releases
Resolution
- The blog post was written 4 year ago, since then several changes have been made to CK Editor 4.
-
In the CKEditorCustomPluginConfigContributor.java file, the property
"editor.name=ckeditor_classic"has to be added to the@Componentproperties for the buttons to appear.@Component(immediate = true, property = { "editor.name=ckeditor", "editor.name=ckeditor_classic",
"service.ranking:Integer=1000" }, service = EditorConfigContributor.class)
Additional Information