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

The old image dialog allows to select non-image attachments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 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

    Description

      STEPS TO REPRODUCE

      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 > type txt in the search, or open the document tree and expand the tree to the previous page containing the attachments

      EXPECTED RESULTS

      1. The search does not propose a non-image result
      2. The Document tree shows only image type attachments and/or the "Select" button is enabled only for images.

      ACTUAL RESULTS

      1. The search results propose non-image results
      2. 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

        Activity

          People

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

            Dates

              Created:
              Updated: