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

Caption is not displayed the first time when selected using new Image Dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.64.6
    • 1.64.5
    • None
    • Windows 11 Pro 64 bit, Forefox 103, using a local instance of XWiki 14.4.3 on MariaDB 10.6, Tomcat 9.0.65
    • Unknown
    • N/A
    • N/A

    Description

      Preconditions:

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

      STEPS TO REPRODUCE

      1. Edit a page with CKEditor
      2. From toolbar, click on 'Image'
      3. Select an image from 'Gallery' tab
      4. Click 'Select' button
      5. Tick 'Caption'
      6. Click 'Insert' button

      EXPECTED RESULTS

      The image is inserted with caption.

      ACTUAL RESULTS

      The image is inserted without caption. This can be observed also if switching to 'Source' edit mode.

      If the image is double-clicked, the 'Caption' appears to be ticked (if clicked on 'Source' first, the tick does not appear anymore).

      However, if the page is saved by clicking 'Save & View' and then edited again (or just click 'Source' in edit mode and then return to WYSIWYG), the 'Caption' is not ticked when editing the image. If at this point is ticked once again, it's displayed.

      The issue was reproduced on XWiki 14.4.3 and doesn't seem to reproduce on XWiki 14.4.1 and 14.4.2 (on CKEditor 1.64.2) or on XWiki 14.6.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: