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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 11.10.5
    • WYSIWYG Editor
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: