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

Image larger than the screen inserted with drag&drop in CKEditor gets distorted (explicit image size is added by default)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.29
    • 1.23
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This issue is related to CKEDITOR-141

      Steps to reproduce :

      • Choose a large image to upload on the wiki
      • Upload it in the content field of a page using drag and drop
      • The code of the page shows the attachment and the size of the image, ex: [[image:attachment.jpeg||height="3447" width="2292"]]
      • Save and view the page
      • When the browser's window is less wide than the image, the image will be shown stretched on its width (see screenshot with mobile view)
      • Remove the height and width parameter from the source code solve the issue.
      • The issue doesn't happen using the insert image button of CKEditor toolbar. In that case the image size it's not added as a parameter by default by CKEditor.

      Tested on XWiki 9.8.1 and 10.6

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            jdennebouy Jean-Sébastien Dennebouy
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: