Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20709

Image alignments are not taken into consideration in edit mode when replying to a comment or annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.2-rc-1, 14.10.7
    • 14.5
    • None
    • Windows 11 Pro, Chrome 110, using a local instance of XWiki 14.10.5 on Jetty/HSQLDB
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. Add a comment on a page
      2. Click 'Reply' to add a reply to that comment
      3. Click on 'Image' from toolbar
      4. Select or upload an image
      5. Click 'Advanced' tab
      6. Select an alignment (e.g. Center)
      7. Click 'Insert' button

      Expected results

      On edit mode, the image is displayed according to the alignment set.

      Actual results

      The image is displayed at the start (left) of the input area.

      However, if the reply is added by clicking 'Add Comment' button, the image is displayed with the set alignment in view mode.

      The same reproduces with replies to annotations.

      Can be related to XWIKI-19761 - When a reply is done, the font-style is also bad.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: