• Resolved fcfn

    (@fcfn)


    Hi! First of all, thank you for your work on this nice plugin!

    Bug description:

    When you apply custom CSS to the element, it also gets applied to the entry in the List view sidebar in the Gutenberg editor because the style rules Custom CSS adds use a selector of type [data-block="<block-id>"] which also makes it apply to the entries in the List view.

    WP version: 6.1.1. Plugin version: 2.9.13.

    Steps to reproduce:

    1. On a fresh WordPress install with the Editor Plus plugin installed open the Sample Page in the Gutenberg editor.
    2. Add the following Custom CSS to the first paragraph:
    selector {
      position: absolute;
    }

    3. Open the List view sidebar and observe that the style also got applied to the Paragraph entry and messed up the list of elements.

    Expected behavior:

    The Custom CSS should not apply to the elements in the List view and only to the elements inside the main view of the editor.

    • This topic was modified 1 year, 8 months ago by fcfn.
    • This topic was modified 1 year, 8 months ago by fcfn.
    • This topic was modified 1 year, 8 months ago by fcfn.
    • This topic was modified 1 year, 8 months ago by fcfn.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BUG: Custom CSS gets applied to the elements in the List view’ is closed to new replies.