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

The new image dialog allows to select non-image attachments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.64
    • 1.63.1
    • None
    • None
    • Windows 11 Pro 64 bit, Firefox 100, using a local instance of XWiki 14.4 on PostgreSQL 14, Tomcat 9.0.63
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      Preconditions:

      • Enable the Image Dialog from the WYSIWYG Editor section in the Wiki Administration

      STEPS TO REPRODUCE

      1. Upload some image and non image attachments to a page (e.g. some .txt files)
      2. Edit a page (or same page) with CKEditor
      3. From toolbar, click Image > Document Tree tab
      4. Expand the tree to the previous page containing the attachments

      EXPECTED RESULTS

      The Document tree shows only image type attachments and/or the "Select" button is enabled only for images.

      ACTUAL RESULTS

      The tree displays also non image files and the "Select" button is enabled as well for them.

      They can be selected, but they end up in "Edit Image" dialog, for which settings do not apply. If inserted anyway, a blank canvas is displayed on which the name of the file appears after page save.

      Attachments

        1. Non_image_inserted.png
          23 kB
          Ilie Andriuta
        2. Non_images_displayed.png
          47 kB
          Ilie Andriuta
        3. Screenshot from 2022-05-25 17-03-03.png
          43 kB
          Manuel Leduc

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: