Issue #3377Opened April 1, 2021by assadnazar1 reactions

BUG: StyleManager options repeating 2 times

Question

Version: 0.16.45 If i add grapejs-preset-js, then stylemanager repeats each option 2 times.

Here is the jsfiddle link where you can check the same behaviour. https://jsfiddle.net/assadnazar/2asojqrc/1/

Maybe it's not merging the options

Answers (2)

Ju99ernautApril 3, 20211 reactions

Use:

window.editor = grapesjs.init({
   // ...
   styleManager: {
      clearProperties: 1
   },
   // ...
});
assadnazarApril 2, 20210 reactions

bump!

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.