Uploaded image for project: '{RETIRED} CKEditor Integration'
  1. {RETIRED} CKEditor Integration
  2. CKEDITOR-270

HTML Macro output is duplicated with each save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • 1.30
    • None
    • Windows 10 Pro 64 bit, Chrome 72, using a local instance XWiki 10.11.2 on Oracle 11.2
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Edit a page in CKEditor mode
      2. Click on "XWiki Macro" Button
      3. Search for HTML Macro and click 'Select'
      4. Paste a HTML content, e.g.:
         <!DOCTYPE html>
                <html>
                <head>
                <title>Sample title</title>
                </head>
                <body>
                <h1 style="color:red;">This is a Heading</h1>
                <p style="color:blue;" style="font-size:24px;">This is a paragraph. <b>Hello, <i>world</i>!</b></p>
                </body>
                </html>
      1. Click 'Submit' and 'Save&View'
      2. Edit again the page and save it

      EXPECTED RESULTS

      The HTML Macro's output is working properly. The Macro's output is saved once.

      ACTUAL RESULTS

      The Macro's output is duplicated every time a save is performed (also notice that the title <title>Sample title</title> is displayed starting with the second duplication.

      The issue could not be reproduced on CKEditor Integration 1.29.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: