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

Wrong syntax used when switching editor from CKEditor source mode

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      • Open a wiki, login, and switch to advanced user
      • Create a page Foo with the following macro:
        {{box}}
        Hello world
        {{/box}}
        
      • Open Foo with WYSIWYG editor
      • Switch to source mode
      • Use the edit dropdown to select "Edit wiki" while you're still in source mode editing
      • When you've got the confirm window telling that you might loose data click "Leave page"

      Expected result:

      • The Wiki editor opens and you see:
        {{box}}
        Hello world
        {{/box}}
        

      Obtained result:

      • The wiki editor opens and you see:
        ~{~{box}} Hello world ~{~{/box}}
        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: