v0.18.1
This release refactors heavily the Style Manager module by removing private methods and events on which some old plugins were relying, like grapesjs-style-gradient, grapesjs-style-filter and grapesjs-style-bg (they won't work properly with this version until their update).
This change was necessary in order to improve the stability of the module and enable higher customizability.
If you have any customization based on GrapesJS Style Manager, please refer to the new API methods/events here: https://grapesjs.com/docs/api/style_manager.html
Docs
- New Style Manager module page
- Moved all available module events to their relative pages.
- Added
Property,PropertyNumber,PropertySelect,PropertyComposite,PropertyStack,Layerin API StyleManager Reference.
Added
- Added
getDevice,getState,getComponentmethods toCssRule. - Added
getTraits/setTraitsto Component API. - Added
messagesAddoption in I18n module. - Now you can get/add/update builtIn properties via Style Manager API.
Changed
- Improve check for layer visibility #4010
- Enable
styleManagerConfig.clearPropertiesby default. - Adjust
draggableComponent property to accept function.
Fixed
- Fixed asset upload events #3934
- Fixed the
scrolloption for the current frame when requested #3938 - Fixed color input trait #3931
- Adjust position in Absolute Mode for children #3770
- Allow for the title of a block to be passed as an attribute #3992
- Disable pointer events from block labels #3986
- Avoid errors on paste in root #4000
- Fixed devices select padding #4026
- Fixed
editor.destroywith selected components #2681 - Update Layer name on the component name change.