diff --git a/addon/chrome/content/workspaceWindow.xhtml b/addon/chrome/content/workspaceWindow.xhtml
index a94edc1..31c6829 100644
--- a/addon/chrome/content/workspaceWindow.xhtml
+++ b/addon/chrome/content/workspaceWindow.xhtml
@@ -50,7 +50,7 @@
-
+
diff --git a/src/hooks.ts b/src/hooks.ts
index 6c952c1..1175f44 100644
--- a/src/hooks.ts
+++ b/src/hooks.ts
@@ -186,7 +186,7 @@ function onOpenNote(
| HTMLElement
| undefined
)?.dataset.uid;
- } else if (currentWindow?.document.querySelector("bn-workspace")) {
+ } else if (currentWindow?.document.querySelector("body.workspace-window")) {
mode = "preview";
workspaceUID = (
currentWindow.document.querySelector("bn-workspace") as