-
I am using the I did find a way to unwrap it in the browser by creating an element, assigning its |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The body is the editor.Components.addType('wrapper', {
model: {
defaults: {
tagName: 'div', // use `div` instead of `body` in the HTML output
},
// Skip wrapper in the HTML output
toHTML(opts) {
return this.getInnerHTML(opts);
}
}
}) |
Beta Was this translation helpful? Give feedback.
The body is the
wrapper
component, so you can extend it as you wish, for example: