![]() _onSelectedContentChange : function(editor, callback), service = EditorConfigContributor. The CKEditor 5 builds come ready to use, with a set of built-in plugins and a predefined configuration. Icon : '/o/custom-ckeditor-plugin/js/assets/journal_content.png', Instance._onSelectedContentChange(editor, Here we are adding the insert snippet plugin where on click of it a static text will be added to the editor's content. The extension point injects the JavaScript code right after editor is initialized. This file will be registered in your module. ![]() How can I configure my ckeditor to just show a basic toolbar. Create a JS file for your plugin functionality and put it under META-INF folder. I am showing a ckeditor in my webpage using class'ckeditor' way. Completely customize it for any need with its modular architecture and expressive API. It injects JavaScript code right after the editor instantiation to configure/change the editor.ġ. Quill is a free, open source WYSIWYG editor built for the modern web. The simplest way to configure the toolbar is to use the dedicated toolbar configurator that is available in each editor installation package starting from. In these cases, we can get the editor instance and update it by adding out own plugin using the liferay-util:dynamic-include JavaScript extension point. CKEditor has different toolbars that contains features like text formatting, text selection, image selection etc. ![]() ![]() In such cases we can add the custom plugin in the toolbar and provide your own implementation. These features are highly configurable, however there may be cases where configuration isn't enough to meet the requirement. You must either enable automatic access to plugins from the CKEditor site, or make any. In this blog we will set web content portlet to use CKEditor instead of AlloyEditorĮ.ddm.text_html.ftl=ckeditorĬKEditor has different toolbars that contains features like text formatting, text selection, image selection etc. We can configure Liferay to use CKEditor by setting following properties in portal-ext.properties file for different portlets. By default, in Liferay 7 AlloyEditor is available in the portal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |