![]() # Adjusting plugins included in the CKEditor 5 superbuild If you would like to quickly evaluate CKEditor 5 with premium features such as real-time collaboration, track changes, and revision history, sign up for a 30-day free trial.Īfter you sign up, in the customer dashboard you will find the full code snippet to run the editor with premium features with all the necessary configurations. # Running a full-featured editor with Premium features Due to that fact, several of those needed to be excluded from the superbuild and are not available that way: While the superbuild is designed to provide as many of them as possible, some of these plugins may conflict with each other. The following features are part of the Productivity Pack and require additional license. from a local file system (file://) - load this site via HTTP server if you enable MathType. Careful, with the Mathtype plugin CKEditor will not load when loading this sample Replace it on production website with other solutions: Storing images as Base64 is usually a very bad idea. This sample uses the Base64UploadAdapter to handle image uploads as it requires no configuration. These two are commercial, but you can try them out without registering to a trial. Do not turn them on unless you read the documentation and know how to configure them and setup the editor. The "superbuild" contains more premium features that require additional configuration, disable them below. It instructs CKEditor to accept ALL HTML markup. 'Lucida Sans Unicode, Lucida Grande, sans-serif', This sample still does not showcase all CKEditor 5 features (!)Ĭ(document.getElementById("editor"), You need to do this, otherwise, the editor will throw an error. In this example, you remove the premium collaboration features and several other plugins that require credentials to work. Observe the configuration below to see this implemented. You can learn more about obtaining and activating license keys in the License key and activation guide. There are also some plugins, like the Productivity Pack, that require a license to run. Apart from that exception, the editor initialization is no different than the one described in the available builds documentation.īecause the superbuild contains a lot of plugins, you may need to remove the plugins you do not need with the removePlugins configuration option and adjust the toolbar configuration. In the superbuild, all editor classes are stored under the CKEDITOR object. You can also try out the predefined builds tailored for specific needs. We strongly advise using the online builder approach or building the editor from source to create customized and efficient production-environment solutions. Using the superbuild should be considered for evaluation purposes and tests rather than for the production environment. A good portion of that code may not be needed in your implementation. create( document.querySelector( '#editor' ) )Ī full web page with embedded CKEditor 5 from this example would look like this: Ĭall the ClassicEditor.create() method to display the editor. Load the classic editor build (here a CDN location is used). In your HTML page add an element that will serve as a placeholder for a CKEditor instance: Let us run a classic editor build as an example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |