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

Dedicated CKEditor button for inserting code snippets

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 9.4
    • WYSIWYG Editor
    • None
    • Unknown

    Description

      We're creating a wiki where a lot of code snippets need to be included in pages. There is a macro for inserting code, but we don't want (our human) editors to be able to see and use all macros, just the code macro. I tried installing the CKEditor codesnippet plugin (http://ckeditor.com/addon/codesnippet) but it does not seem to be compatible with XWiki upon experimentation.

      A quick fix would be if anyone could tell me how to only show certain macros depending on what group you are in the wiki (couldn't find after googling).

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            DaBoi Axel Kennedal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: