Render css editor with angular #3530
Replies: 4 comments 1 reply
-
Just to add to what he said, what we are basically trying is to add material components to the editor. The components are loading but without styling. We tried loading material stylesheet through angular.json and through the grapesjs editor.init function, using canvas { styles: [] }. |
Beta Was this translation helpful? Give feedback.
-
Well that an issue with your environment, that has nothing to do with the editor, just find the proper way to load your CSS |
Beta Was this translation helpful? Give feedback.
-
Try to create a stackblitz, so we can help. |
Beta Was this translation helpful? Give feedback.
-
Interestingly I can load an external css (CDN) but I can't load an internal one, as @artf mentioned probably the problem is with my code, I must not be following the way expected by Angular. Thanks for the help @artf and @ronaldohoch . Thanks for the excellent editor, he makes me very happy. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Could someone help me render css
customized on
editor with Angular?
I tried with canvas:
but I get the following error:
Refused to apply style from 'http://localhost:4200/.test/test.component.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
thank's
Beta Was this translation helpful? Give feedback.
All reactions