GrapesJS / blocks-basic

Basic blocks for the GrapesJS editor
BSD 3-Clause "New" or "Revised" License
76 stars 107 forks source link

Add style prefix for DOM elements #3

Closed tomichal closed 6 years ago

tomichal commented 7 years ago

This is to avoid potential conflicts with other styles, e.g. loaded in from external libraries.

artf commented 6 years ago

There are still few things to fix but I'll do it as the plugin requires some refactoring Thanks 👍

tomichal commented 6 years ago

Awesome @artf ... btw, I didn't use a "gjs-" prefix by default as that was causing a bug such that when you dragged a component onto the canvas the component would not actually get dropped at all (and unfortunately I didn't spend any time figuring that one out due to lack of time)