grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

GrapeJs framework breaks on adding external stylesheet

Open sakshigarg9 opened this issue 7 years ago • 2 comments

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?

sakshigarg9 avatar Feb 18 '19 10:02 sakshigarg9

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

artf avatar Feb 21 '19 00:02 artf

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.

lock[bot] avatar Feb 21 '20 21:02 lock[bot]