⚠️ Removed
- Removed
config.wrapperIsBody, config.exportWrapper options.
Now is the wrapper component itself to indicate what tagName to use and how to output the HTML.
So, if necessary you can extend the default wrapper 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
Fixed
- Prevent form submit in ClassTagsView #4166
- Fixed editing logic for links #4145
- Fixed RTE icons in Firefox #4176
- Fixed tagName for SVG elements #4188
- Ensure frame existence in SelectComponent #4187
- Prevent divs on RTE paste and plain text #4195
- Fix issues with the state rule. Closes #4208