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

Image size formatting using text editor does not persist after saving in WYSIWYG

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 11.10.5
    • Fix Version/s: None
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEPS TO REPRODUCE:

      • Create a page and edit it with the Text based editor
      • Upload an image and put it on a page [[image:my_image.png]]
      • Add percentage based resizing of the image: [[image:my_image.png||height="50%" width="50%"]]
      • Save the page and view it to verify that image is actually resized
      • Edit the page with WYSIWYG editor and save it
      • Edit the page again with the Text based editor

      EXPECTED RESULTS:

      • The (percentage based) size formatting of the image should persist. I.e. the line rendering the image should remain to be [image:my_image.png||height="50%" width="50%"]]

      ACTUAL RESULTS:

      • The (percentage based) size formatting disappears. The text for rendering the image becomes [[image:my_image.png]] from [[image:my_image.png||height="50%" width="50%"]]

       

       

      We are running Ubuntu 20.04 LTS; XWiki Debian 12.4.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                msiddiquee Manan Siddiquee
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: