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

Selecting caption for an image causes the wrapped text to be displayed unwrapped and alignment issues in view mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.63
    • None
    • None
    • Windows 11 Pro 64 bit, Chrome 102, using a local instance of XWiki 14.4.1 on MariaDB 10.6, Tomcat 9.0.63
    • Unknown

    Description

      Preconditions:

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

      STEPS TO REPRODUCE

      1. Edit a page containing some lines of text with CKEditor
      2. In the middle of the text (on an empty line), insert an image (from Gallery or upload one)
      3. In 'Edit Image' lightbox, 'Standard' tab, tick 'Caption' checkbox
      4. From 'Advanced' tab, tick 'Text wrap' checkbox
      5. Click 'Insert'
      6. Observe the text placement around image in edit mode
      7. Click 'Save & View' on the page and observe the text placement in view mode

      EXPECTED RESULTS

      Since 'Text wrap' is selected, on both edit mode and view mode, the text is wrapped around inserted image.

      ACTUAL RESULTS

      In edit mode the text is displayed wrapped, but in view mode, the text is not wrapped anymore.

      If the 'Caption' checkbox is deselected, the text is displayed wrapped in both modes.

      Attachments

        1. AfterSave.jpg
          AfterSave.jpg
          103 kB
        2. End.jpg
          End.jpg
          147 kB
        3. Text_placement_Edit_Mode.png
          Text_placement_Edit_Mode.png
          223 kB
        4. Text_placement_View_Mode.png
          Text_placement_View_Mode.png
          173 kB

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: