Uploaded image for project: 'PlantUML Macro'
  1. PlantUML Macro
  2. PLANTUML-11

Content added after PlantUML Macro is deleted when saving the page from WYSIWYG editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:
      12.10.8, 13.4.2
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Install PlantUML Macro 2.0.2
      2. Create a new page
      3. Edit the page in WYSIWYG mode
      4. Create a schema using the PlantUML Macro 
      5. Insert new paragraph by clicking on the dedicated macro icon -> 1.png
      6. Add some text content on the new created paragraph after the PlantUML macro
      7. Save & View : the both text (before and after Macro) are properly displayed inside CKEditor. -> 2.png 
      8. Go back to the WYSIWYG edit mode: the text after is displayed inside the Macro -> 3.png
      9. Save & View: the text after the PlantUML Macro has disappeared -> 4.png
      10. Edit the page and check both views (WYSIWYG & Source): the text after is not displayed -> 5.png + 6.png

      Expect behavior: The Diagram created with PlantUML Macro and the both text (before and after Macro) are properly displayed

      Actual behavior:  the text insert after the PlantUML MAcro is completely removed after edition

      Tested on Linux, Firefox 90, XWiki Jetty 12.10.8, 13.4.2. 

        Attachments

        1. 1.png
          1.png
          56 kB
        2. 2.png
          2.png
          59 kB
        3. 3.png
          3.png
          55 kB
        4. 4.png
          4.png
          56 kB
        5. 5.png
          5.png
          66 kB
        6. 6.png
          6.png
          51 kB
        7. BoxMacro.png
          BoxMacro.png
          50 kB

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            asiriciuc Alexandra Siriciuc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: