diff options
author | bobzel <zzzman@gmail.com> | 2022-11-10 19:59:13 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-11-10 19:59:13 -0500 |
commit | 90bf9ea9e32ed695a36d0334e99fd859bbe51c15 (patch) | |
tree | 7e95e2853f9d6d791bd5e2c2420cb4ba09d31933 /src/client/views/nodes/formattedText/DashDocCommentView.tsx | |
parent | 898fee3d4178eab6bdacea156b8aabc47213fc06 (diff) |
made alternate image use a field data-useAlt. added alt images to preselements. fixed removing TabDoc documentviews from document view list. added playing audio tags to preselements
Diffstat (limited to 'src/client/views/nodes/formattedText/DashDocCommentView.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/DashDocCommentView.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/DashDocCommentView.tsx b/src/client/views/nodes/formattedText/DashDocCommentView.tsx index 4bff57842..fcd6e0c55 100644 --- a/src/client/views/nodes/formattedText/DashDocCommentView.tsx +++ b/src/client/views/nodes/formattedText/DashDocCommentView.tsx @@ -36,6 +36,9 @@ export class DashDocCommentView { (this as any).dom = this.dom; } + destroy() { + this.root.unmount(); + } deselectNode() { this.dom.classList.remove('ProseMirror-selectednode'); } |