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

Provide controls to quickly copy contents of a code block

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Rendering - Code Macro
    • None
    • Unknown

    Description

      Currently, users that need to copy the contents of a code block will have to select all the code, and then copy / Paste

      We could improve the display of the code macro to make it a bit more usable for reads. It seems that on Confluence, the code macro is presented as the following :

      When it comes to copy / pasting code, users can either click on the "Copy" icon, displayed on hover of the code block, or double-click on the code block content to select the whole text in the code block.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              caubin Clément Aubin
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: