From 9fadc9341a2ad455929a2bc86978cbdfc52a6e5f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 29 May 2025 14:35:40 +0300 Subject: [PATCH] fix(mermaid): code background stuck after navigating to new note --- .../src/widgets/type_widgets/abstract_split_type_widget.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts b/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts index 3758229ea..cead9d254 100644 --- a/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts +++ b/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts @@ -174,6 +174,7 @@ export default abstract class AbstractSplitTypeWidget extends TypeWidget { cleanup(): void { this.#destroyResizer(); + this.editorTypeWidget.cleanup(); } async doRefresh(note: FNote) {