WordPress / playground-tools

GNU General Public License v2.0
127 stars 38 forks source link

Explore: Isolating Playground block content from external CSS #277

Open brandonpayton opened 1 month ago

brandonpayton commented 1 month ago

Occasionally, we encounter Playground block styling issues due to other CSS loaded by WordPress (e.g, CSS from an opinionated theme). Let's explore whether we can isolate this block from external styles using things like shadow DOM. In theory, it should work fine, but we may depend more on core and theme styles than we realize.