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

Adding additional classes to blocks sometimes breaks styles

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.59.0
    • Labels:
    • Story Points:
      3
    • Sprint:
      Sprint #164
    • Section:
      Block: Columns
    • Track:
      Development
    • P4 Test Environment:
      sinope
    • Repositories:
      planet4-plugin-gutenberg-blocks

      Description

      I've noticed this issue with the Columns block, but it might be present in other blocks with styles too... 

      Basically if you add a new class after the style one that is already there, the style won’t work anymore because of this check… So for now we need to add classes before the style one in order not to break the block style.

      Tasks

      • Fix the issue in Columns block
      • Check if it's happening in other blocks with styles and fix it there too

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              fhernand Florent Hernandez
              Reporter:
              mleray Maud Leray
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: