Issue #809Opened January 26, 2018by maxtacco0 reactions

[Bug]: CSS not added when blocks are drag and dropped after core:canvas-clear command invoked

Question

I'm using grapesjs-blocks-basic plugin that has a number of column blocks. When I drag and drop these blocs onto the canvas they are displayed correctly for the first time and I can see the associated CSS added in the code viewer. But, once I invoke 'core:canvas-clear' command and drag-and drop the same blocks they are not displayed in canvas correctly anymore and CSS is missing in the code viewer.

It looks like 'e.CssComposer.clear();' call in the 'core:canvas-clear' command causes this issue.

GrapesJS version: 0.13.5/0.13.8

Answers (3)

maxtaccoJanuary 29, 20180 reactions

Thank you!

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.