* (): Fixed: Nested widgets should be initialized on (!/api/CKEDITOR.editor-method-setData) and (!/api/-method-setData). Additionally, performance of the (!/api/-method-getByElement) method was improved. * (): Fixed: Clicking a nested widget does not focus it. * (): Fixed: Issue with setting encoded URI as image link. * (): Fixed: Issue with passing jQuery objects to (!/guide/dev_jquery) configuration. * (): Blockquote should be treated like an object by the styles system. * (): Fixed: Imperfections in the () skin. * (): Introduced a parameter to prevent the (!/api/CKEDITOR.editor-method-setData) method from recording undo snapshots. ![]() It can only be found in the development version of CKEditor on (). Please note that the () directory which contains editor tests is not available in release packages. Read more about how to set up the environment and execute tests in the (!/guide/dev_tests) guide. * The CKEditor testing environment is now publicly available. * (): Fixed: (!/api/nfig-cfg-fillEmptyBlocks) not working properly if a function is specified. * () and (): Fixed: In HTML5 ` ` tags should be allowed everywhere, including inside the ` ` element. * (): Fixed: There should be no information about accessibility help available under the *Alt+0* keyboard shortcut if the () plugin is not available. **Note**: We were not able to fix this issue on IE11+ because necessary events stopped working. * (): Fixed: (!/api/nfig-cfg-disableObjectResizing) does not work on IE. * (): Fixed: Image is inserted with `width` and `height` styles even when they are not allowed. * (): Fixed: Double-clicking linked widgets opens two dialog windows. ![]() * (): Fixed: **Enter** key used in an empty list item creates a new line instead of breaking the list. ![]() * (): Fixed: Editor crash after deleting a table. * (): Added the "Justify" option to the "Horizontal Alignment" drop-down in the Table Cell Properties dialog window. * Fixed XSS vulnerability in the Preview plugin reported by Mario Heiderich of (). * (): Merged `benderjs-ckeditor` into the main CKEditor repository. * (): Fixed: Error thrown in the console after enabling () and trying to add a new image. * (): Fixed: With () enabled, cursor moves to the beginning of the first highlighted, misspelled word after typing or pasting into the editor. * (): Fixed: Editor's voice label is not affected by (!/api/nfig-cfg-title). config.` in Compatibility Mode will no longer reset selection to the first line. Fortunately, this can be done easily by using the object format of allowed content rules and the CKEDITOR.dtd object. Therefore the only solution is to write an allowed content rule allowing all elements. In this case setting to true is not a solution, because this completely disables the Advanced Content Filter, so will not work either. You can also open the Table dialog window and see that the Border, Width, and Height fields were hidden, too.Ī popular requirement is to allow all HTML features except a few specific ones. With this code implemented, open the Image Properties dialog window and see that the Border, HSpace, and VSpace fields were hidden. config.allowedContent = 'h1 h2 h3 p' ĭisallowing attributes, classes, and styles. ![]() When a rule also contains property names, only these properties (attributes, styles, classes) will be removed, not elements (unless some required property was removed).ĭisallowing entire elements. When only element names are defined, a rule disallows entire elements (and thus these elements will be removed). They can be specified in two formats ( string and object), however, it is not possible to specify required properties (which simply would not make any sense in this case). # Disallowed Content Rulesĭisallowed content rules are very similar to the allowed content rules. A similar solution can be achieved by allowing all HTML elements. It is not possible to disallow content when the Advanced Content Filter is disabled by setting to true.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |