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

The new image dialog allows to select non-image attachments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.63.1
    • Fix Version/s: 1.64
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 11 Pro 64 bit, Firefox 100, using a local instance of XWiki 14.4 on PostgreSQL 14, Tomcat 9.0.63
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: