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

New Image Dialog - Center alignment doesn't work if Caption or Text Wrap is selected

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.64
    • None
    • None
    • Windows 11, XWiki 14.4.1 with MySQL 8.0 and Edge 102
    • Unknown
    • N/A
    • N/A

    Description

      Preconditions: Enable the Image Dialog from the WYSIWYG Editor section in the Wiki Administration: look for 'xwiki-image' in the drop down of disabled CKEditor plugins and uncheck it then save.

       

      Steps to reproduce:

      1. Edit a page and add some text
      2. Click on the Image icon and upload any image then Select
      3. Click on the Advanced tab and select Caption OR Text Wrap and Alignment Center
      4. Click on the Inset button
      5. Click on Save & View

       

      Expected results: The image appears centered in Edit and View mode.

      Actual results: The chosen alignment is not applied to the added image in either Edit or View mode. 

       

      NOTE: The center alignment works ONLY when the TEXT WRAP and CAPTION aren't selected.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              ganechitoaei Gabriela Anechitoaei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: