From edeceb04d9a806ea3ce538fcd4fefa9585c8bfca Mon Sep 17 00:00:00 2001 From: celine Date: Tue, 11 Aug 2026 23:08:15 -0400 Subject: [PATCH] small mention fix --- app/globals.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index 75806a2c..6172b31f 100644 --- a/app/globals.css +++ b/app/globals.css @@ -461,6 +461,14 @@ body.cmd-held .ProseMirror a { cursor: pointer !important; } +/* When a textblock ends in an atom node (a mention, a footnote ref), ProseMirror + appends a zero-width separator img so the cursor has somewhere to land. */ +img.ProseMirror-separator { + display: inline !important; + border: none !important; + margin: 0 !important; +} + .mention { @apply cursor-pointer; @apply text-accent-contrast; @@ -704,7 +712,7 @@ body.cmd-held .ProseMirror a { width: 4px; } .footnote-ref ~ img.ProseMirror-separator { - display: none; + display: none !important; } .footnote-side-enter { -- knotmirror 0.0.1