-
Couldn't load subscription status.
- Fork 13
Description
I would like to be able to use Material UI icons in HTML and Markdown panes.
I was able to by including the css_files globally.
https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=schedule,weekend,person,leaderboardPlease note I do include specific icon_names to minimize the bundle that needs to be loaded.
Then I can include in HTML panes using the html:
<span class='material-symbols-outlined card-icon'>{icon}</span>Complication
It used to work for me in #143.
But as I started refactoring the application I found that suddenly the HTML pane gets disabled when the css url is included. My hypothesis is that its somehow related to the timing of when the icon css is loaded?
In the video at 00:07 you can see how the HTML panes are disabled when I include the css url. I can unhide by changing the css visibility to inherit manually. It affects all HTML panes including the Alert shown when there are errors in the code. Strange.
