feat: finalize attachments

This commit is contained in:
thecodrr
2022-06-18 09:48:04 +05:00
parent 43a355ce25
commit ccac8dc6c4
29 changed files with 731 additions and 214 deletions

View File

@@ -182,7 +182,9 @@ export class SelectionBasedNodeView<
);
};
viewShouldUpdate(_nextNode: PMNode) {
viewShouldUpdate(nextNode: PMNode) {
if (super.viewShouldUpdate(nextNode)) return true;
const {
state: { selection },
} = this.editor.view;