BREAKING: wc-codemirror now uses shadowDOM encapsulation
Unlike previous iterations, in v2.0+ wc-codemirror
is now shadowDOM encapsulated.
That means...
- setting styles globally will not change the styling of the web component
- CodeMirror and its themes will no longer pollute the global CSS namespace
- a theme's import (ie
<link>
) needs to be contained inside the body of the web component tag - it may require more work to override the default and/or theme styling