Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19983

Allow extensions to contribute new content rules for their syntaxes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • CKEditor
    • None
    • Unknown

    Description

      Right now the content rules are hardcoded and only configured for xwiki/2.0 and xwiki/2.1 syntaxes. See https://github.com/xwiki-contrib/application-ckeditor/blob/master/application-ckeditor-ui/src/main/resources/CKEditor/EditSheet.xml#L224-L255

      It would be nice to allow an extension to contribute new rules instead of hardcoding it (https://github.com/xwiki-contrib/application-ckeditor/blob/master/application-ckeditor-ui/src/main/resources/CKEditor/EditSheet.xml#L260-L263). See for example MARKDOWN-48

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: