Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2134

Custom css in block does not apply

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0
    • None
    • Page Builder
    • None

    Description

      Steps to reproduce

      • add code block with
        <h1 class="display-1">I LOVE NY</h1>
        
      • add custom css (block level)
        h1.display-1 {color: red}
        
      • Submit, h1 is red
      • Publish page, h1 is not red anymore

      Issue

      Code generated:

      <style type="text/css">[data-block-id="46"] h1.display-1 {
        color: red; }
      </style>
      

      It should be

      <style type="text/css">[data-ez-block-id="46"] h1.display-1 {
        color: red; }
      </style>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: