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

Macros using HTML5 are sometimes badly rendered when edited in WYSIWYG mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.6.0-rc-1, 16.4.2, 15.10.12
    • 15.10.11, 16.4.1, 16.5.0
    • CKEditor
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This can be reproduced easily with:

      {{html clean="false"}}
      <details>
        <summary>
          <span class="panel-title">Title</span>
        </summary>
        <div class="panel-body">Body</div>
      </details>
      {{/html}}
      

      When you edit this in WYSIWYG mode, both the summary and the rest of the details are visible from the start and if you inspect the HTML you'll notice that both the summary and details tags are missing (removed by CKEditor). You're left with the SPAN and DIV.

      Attachments

        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: