

Setting forcePasteAsPlainText to true will not replace the content filtering features that Advanced Content Filter can provide. # Pasting as plain text ≠ content filtering If you have any issues with it, do not turn it off, but instead configure it to match your requirements.įor example, to enable and elements, allow two additional attributes ( id and rel given in square brackets) for all ( * is a wildcard) already enabled elements, and allow usage of any class names (see (*)) for them, use the following code: config.extraAllowedContent = 'iframe style *(*)' # Configuration # Configure content filteringĪdvanced Content Filter is a cool feature which assures that the content inserted by the user blends in with your website in the best possible way. This will reduce the risk of omitting plugin dependencies and in the created optimized build all plugins will be merged into one file, which will reduce time needed to load them.
#CKEDITOR 4 ANGULAR INSTALL#
If you want to install additional plugins, use online builder instead of adding them manually. You will only be loading unnecessary stuff without any good reason. It is a bad practice to download the Full package and then remove plugins or buttons in your configuration. If you want to skip some editor features, customize your build with online builder and remove unneeded functionality. The development, source code version is only suitable for tests and development.Īdditionally, it is good to enable gzip compression in your server settings. You should always use minified CKEditor 4 versions ( official releases, optimized builds) in production environments. If you modified any distribution files to add your custom configuration, pay special attention to not overwrite your content (including config.js, contents.css, styles.js and custom template files) when upgrading.
#CKEDITOR 4 ANGULAR UPGRADE#
# Installation # Upgrade regularlyĬKEditor 4 should be upgraded frequently as bug fixes and new features, including support for new browser versions, are not backported. Check the links for more information about particular items. This article contains a list of some best practices that we recommend when implementing CKEditor.

Use CKEditor 4 for what it was made for.Pasting as plain text ≠ content filtering.Home / CKEditor 4 / Guides CKEditor Best Practices
