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

Selecting some text and clicking Insert > Info Box Macro should put the selected content in the macro content

    XMLWordPrintable

Details

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

    Description

      Right now the selected content is lost (tested with XWiki 13.9).

      To reproduce:

      • Create a page with the following content:
        1. (((
        Hello
        
        World
        )))
      • Edit in WYSIWYG and select the "World" text, click Insert > Info Box (the macro, not the style)
      • Expected result:
        1. (((
        Hello
        
        {{info}}
        World
        {{/info}}
        )))
      • Current result:
        1. (((
        Hello
        
        {{info}}
        Type your information message here.
        {{/info}}
        
         
        )))
      • BTW note the extra new lines after the closing info box macro. They look wrong too.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: