FIX: rich editor spoiler on firefox (#36378)

Blurred spoiler's default styles set `user-select: none`, which makes
Firefox treat it as non-editable of sorts (can't click on it to select,
can't navigate it with the keyboard).

This reverts this style when inside the ProseMirror editor.
This commit is contained in:
Renato Atilio
2025-12-02 09:46:39 -03:00
committed by GitHub
parent 1835965c5d
commit 6b748b6e2a
@@ -61,4 +61,8 @@
box-shadow: 0 0 4px 4px rgb(var(--primary-rgb), 0.2);
max-width: 100%;
}
&.spoiler-blurred {
user-select: auto;
}
}