
have a renderer so that we can convert from HTML to wiki syntax on save or when switching from WYSIWYG mode to Source.have a parser so that we can convert from the wiki syntax to HTML before the editor is loaded or when switching from Source to WYSIWYG mode.In order for a wiki syntax to be compatible with the CKEditor it needs to: We achieve this by configuring the Advanced Content Filter and the Paste Filter with rules for the XWiki Syntax. In order for this conversion to be possible we have to disable the CKEditor features that produce content that cannot be written in wiki syntax and to remove (filter) such content from the CKEditor output. This means that the HTML produced by the CKEditor is converted at save time to wiki syntax. Advanced Content Filter for XWiki Syntaxįrom the start you need to know that the content you edit with the CKEditor is saved in XWiki as wiki syntax. In order to integrate CKEditor with XWiki we had to modify some of the standard features, like links and images, and to add new features that only make sense in XWiki, like support for wiki macros. If you really need these features you can enable them from the dedicated administration section. For this we disable by default the features that are related to styles, such as text aligning, changing fonts or text color. This way all wiki pages will have a consistent style.

Note that by default XWiki doesn't enable all the features available in CKEditor because we want the users to focus on the content and leave the styling in the hands of the XWiki skin. Check the CKEditor web site to see all the supported features. The standard features include: text formatting, lists, links, images, tables and many more. Advanced Content Filter for XWiki Syntax.The CKEditor integration with XWiki provides most of the standard editing features available in CKEditor and some additional features that are specific to XWiki.

Of course, in order to get the Edit menu you need to set the "User Type" to "Advanced" in your user profile preferences. On older versions of XWiki (<8.2), after installing this extension, you should see a new entry in the Edit menu called "CKEditor".
