Skip to content

File tree

src/stylesheets/components/core/_prosemirror-math.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ math-inline .math-render {
4949
}
5050

5151
math-inline .math-src .ProseMirror {
52-
display: inline;
52+
/* Keep Firefox from dropping the caret out of inline math at the end */
53+
display: inline-block;
5354
/* Necessary to fix FireFox bug with contenteditable, https://bugzilla.mozilla.org/show_bug.cgi?id=1252108 */
5455
border-right: 1px solid transparent;
5556
border-left: 1px solid transparent;

0 commit comments

Comments
 (0)