GrapesJS / preset-webpage

GrapesJS Plugin Webpage Preset
http://grapesjs.com/demo.html
BSD 3-Clause "New" or "Revised" License
335 stars 291 forks source link

Style Manager- double list of style menu #61

Closed Progressive-Programmer closed 2 years ago

Progressive-Programmer commented 3 years ago

The style menu lists double items, i.e General, Layout, Typography, Decorations etc.

This issue is not in grapesjs repo.

@artf Screenshot 2021-06-24 at 10 25 27 PM

laravelspa commented 3 years ago

hey @Progressive-Programmer add this to fix this problem styleManager: { clearProperties: true }

Prakash758758 commented 3 years ago

above one is proper solutions for issue, working fine....

gabehut commented 2 years ago

In which file should we add

styleManager: { clearProperties: true }

?

CallerOnLineOne commented 2 years ago

same issue, in which file do we add styleManager: { clearProperties: true } ? I tried in var editor = grapesjs.init({}) in the index.html file but that did nothing

artf commented 2 years ago

The new release https://github.com/artf/grapesjs-preset-webpage/releases/tag/v1.0.1 removes the inner style manager configuration and relies on the one provided by the core (which is mainly configured to work for web projects).