From b3ef63859d2dbeaf595f7482a4de3d586535c10e Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Thu, 25 Dec 2025 23:15:33 +0800 Subject: [PATCH] Destroy editor instance in CE properly --- chrome/content/zotero/elements/noteEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/elements/noteEditor.js b/chrome/content/zotero/elements/noteEditor.js index a5e6a86f52..78d54c9d81 100644 --- a/chrome/content/zotero/elements/noteEditor.js +++ b/chrome/content/zotero/elements/noteEditor.js @@ -99,6 +99,7 @@ return; } this._destroyed = true; + this._editorInstance?.uninit(); Zotero.Notifier.unregisterObserver(this._notifierID); }