You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our websites are already loading a version of PrismJS which is causing a version collision with pfe-codeblock. Ideally we'd want to have a mechanism for opting out or opting in to loading PrismJS assets. This is challenging in the fact that we call Prism js methods that are version specific in our component and we import version specific CSS into our component.
The way I see it if the highlighting CSS is local to the shadow DOM, we should be g2g. We might want to expose per-token css props though, and that might affect users.
at the very least, swapping libraries will not be a pixel-perfect change, so it should probably be marked as breaking
Description of the issue
Some of our websites are already loading a version of PrismJS which is causing a version collision with pfe-codeblock. Ideally we'd want to have a mechanism for opting out or opting in to loading PrismJS assets. This is challenging in the fact that we call Prism js methods that are version specific in our component and we import version specific CSS into our component.
Impacted component(s)
Steps to reproduce
webrh.webcomponents.js
Possible Solutions
The text was updated successfully, but these errors were encountered: