aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/SummaryView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-11-10 19:59:13 -0500
committerbobzel <zzzman@gmail.com>2022-11-10 19:59:13 -0500
commit90bf9ea9e32ed695a36d0334e99fd859bbe51c15 (patch)
tree7e95e2853f9d6d791bd5e2c2420cb4ba09d31933 /src/client/views/nodes/formattedText/SummaryView.tsx
parent898fee3d4178eab6bdacea156b8aabc47213fc06 (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/SummaryView.tsx')
-rw-r--r--src/client/views/nodes/formattedText/SummaryView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/SummaryView.tsx b/src/client/views/nodes/formattedText/SummaryView.tsx
index 1fe6d822b..4e75d374c 100644
--- a/src/client/views/nodes/formattedText/SummaryView.tsx
+++ b/src/client/views/nodes/formattedText/SummaryView.tsx
@@ -42,6 +42,7 @@ export class SummaryView {
className = (visible: boolean) => 'formattedTextBox-summarizer' + (visible ? '' : '-collapsed');
destroy() {
+ this.root.unmount();
// ReactDOM.unmountComponentAtNode(this.dom);
}
selectNode() {}