⚠️ Removed
- Removed
config.wrapperIsBody
,config.exportWrapper
options.
Now is thewrapper
component itself to indicate whattagName
to use and how to output the HTML.
So, if necessary you can extend the defaultwrapper
as any other component and specify your logic.
editor.Components.addType('wrapper', {
model: {
defaults: {
tagName: 'div', // use `div` instead of `body` in HTML export
},
// Skip wrapper in the HTML output
toHTML(opts) {
return this.getInnerHTML(opts);
}
}
})
Added
- Added
index.d.ts
file. Thanks to @erdomke
Changed
- Update component toolbar icons
- Improve component delete command