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

Dedicated CKEditor button for inserting code snippets

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 9.4
    • Fix Version/s: None
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: