Issue #1807Opened February 18, 2019by sakshigarg90 reactions

GrapeJs framework breaks on adding external stylesheet

Question

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?

Answers (2)

artfFebruary 21, 20190 reactions

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

lock[bot]February 21, 20200 reactions

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.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.