From 00ecf84dbd67c2b00e5bce713405e2af0c6a2e5a Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 16 Dec 2023 12:56:21 -0500 Subject: [PATCH] fix: Finicky selection around headings in FF --- shared/editor/components/Styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 7781f911d..b0112d934 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -716,6 +716,7 @@ h6:not(.placeholder):before { .heading-actions { opacity: 0; + user-select: none; background: ${props.theme.background}; margin-${props.rtl ? "right" : "left"}: -26px; flex-direction: ${props.rtl ? "row-reverse" : "row"}; @@ -1494,6 +1495,7 @@ table { .folded-content, .folded-content + .mermaid-diagram-wrapper { display: none; + user-select: none; } @keyframes ProseMirror-cursor-blink {