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

The default content is lost and we can't move to the next step after reordering a WYSIWYG editor based field in AWM

    XMLWordPrintable

Details

    • High
    • Easy
    • N/A
    • N/A

    Description

      Follow these steps to reproduce:

      • Start creating an AWM application
      • On the second step, "Structure your data", add two fields: one that is not based on the WYSIWYG editor (e.g. Short Text), and one that is (e.g. Content)
      • Type some text into the WYSIWYG editor based field (your user needs to have WYSIWYG as the preferred editor)
      • Drag the WYSIWYG editor based field before the other field (or after, depending on the order you inserted the field). The point is to change the order of the WYSIWYG editor based field
      • Type some more text in the WYSIWYG editor
      • Move to the next step

      Expected: We can move to the next step and the value typed in the WYSIWYG editor is saved (as the default value for that field)
      Actual: The WYSIWYG editor is empty after the field is drag & dropped, and the text area is read-only (we lost the content). Clicking on the Next button doesn't have any effect besides showing a warning message in the WYSIWYG editor saying that its content could not be saved.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: