Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5873

Update Image block styles and captions

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Released
    • Icon: Should have Should have
    • 2.52.0
    • None
    • 5
    • Styling/Theme
    • Sprint #153

      There are several actions to be taken for the Image block once me upgrade to WP 5.6:

      • Remove caption formatting options: it will be possible to make the caption bold/italic/etc and we don't want to allow that, for consistency (see screenshot)
      • Remove "Rounded" style (see screenshot) and therefore the whole "Styles" section which is no longer needed since there will be only one left - done in this PR
      • Fix caption alignment option in the sidebar (from P4 options) which now doesn't update properly, probably due to this line taking the previous value of "captionAlignment" (also the buttons to change the alignment look weird on hover, that should be fixed - done in this PR)

            mleray Maud Leray
            mleray Maud Leray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: