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

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1
    • 2.0.2
    • None
    • 12.10.8, 13.4.2
    • Unknown
    • N/A
    • N/A

    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. BoxMacro.png
          BoxMacro.png
          50 kB
        2. 6.png
          6.png
          51 kB
        3. 5.png
          5.png
          66 kB
        4. 4.png
          4.png
          56 kB
        5. 3.png
          3.png
          55 kB
        6. 2.png
          2.png
          59 kB
        7. 1.png
          1.png
          56 kB

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: