grapesjs
grapesjs copied to clipboard
GrapeJs framework breaks on adding external stylesheet
When i add my external stylesheet using
const editor = grapesjs.init({
canvas: {
styles: [
'style.css',
]
}
});
the grapesjs framework no more works. How can I have the style sheet as well as the grapesjs framework. Is this happening because some styles may not be compatible with GrapesJs?
Well it's not that hard to break stuff with CSS, so yes, a bad written CSS (eg. using global selectors * or via tags like div, span { ... }) definitely can break the editor
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.