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

The WYSIWYG editor transforms the content into HTML code when reloading certain types of documents

    Details

    • Difficulty:
      Medium
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This happens when the exact HTML leading to the WYSIWYG is dynamically changed via JavaScript and the WYSIWYG reloads. For example, if the field being edited is hidden and then re-displayed.

      To reproduce:

      • import the attached XAR
      • edit it in Inline mode
      • click on Show, see proper content
      • reload, click again on Show, see HTML code
      • repeat, each time the HTML is escaped one more time

      The same thing happens with Save & View + hitting the browser's back button.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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