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

CKE not saving properly when editing content with iframes and text below

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 13.10, 15.10.10
    • Rendering, WYSIWYG Editor
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Paste this velocity code inside a page:
      {{velocity}}
      #* Your velocity code here *#
      
      {{html clean=false}}
      <iframe></iframe>
      {{/html}}
      
      {{/velocity}}
      
      1. Edit the page(press E)
      2. Add text below the iframe
      3. Save the changes
      4. Edit the page (press E)
      5. Click Save

      Expected results:
      The text is saved.

      Actual result:

      The text is deleted.

       

      Workaround:

      Remove the clean=false property.

      Attachments

        1. 2024-07-29 17-11-49.mp4
          948 kB
          Farcasi Alexandru-Vicentiu

        Activity

          People

            mflorea Marius Dumitru Florea
            Farcasut Farcasi Alexandru-Vicentiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: