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

The content of macros that are editable inline is saved as HTML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 10.10
    • 10.10-rc-1
    • WYSIWYG Editor
    • 10.10-rc-1 on docker tomcat-postgres, standard flavor, ckeditor 1.27, latest firefox
    • High
    • Medium
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Complete Fresh xwiki standard flavor installation
      2. Edit Sandbox, don't change anything
      3. Save and View

      The sandbox page now show:

      <p>Don't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the "History" tab at the bottom of the page.</p>
      See attached GIF

      This does not happen until the page is saved, the source view is fine, see second GIF

      Using the xwiki syntax editor is fine, but if you switch from CKEditor to xwiki editor, the <p> is already there, see GIF "switch-to-xwiki-editor"

      Attachments

        1. ckeditor-inline-macro.gif
          190 kB
          Mario (AutomationX)
        2. HTML_added_each_save.jpg
          155 kB
          Ilie Andriuta
        3. source-view-ok.gif
          316 kB
          Mario (AutomationX)
        4. switch-to-xwiki-editor.gif
          330 kB
          Mario (AutomationX)

        Activity

          People

            mflorea Marius Dumitru Florea
            AutomationX Mario (AutomationX)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: