Refactor: exportJSON (#6983)

This commit is contained in:
Germán Jabloñski
2024-12-23 05:19:27 -03:00
committed by GitHub
parent e0dafb8df7
commit 619003383d
51 changed files with 22 additions and 259 deletions

View File

@ -42,13 +42,6 @@ export class OverflowNode extends ElementNode {
this.__type = 'overflow';
}
exportJSON(): SerializedElementNode {
return {
...super.exportJSON(),
type: 'overflow',
};
}
createDOM(config: EditorConfig): HTMLElement {
const div = document.createElement('span');
const className = config.theme.characterLimit;