Commit b470f24
committed
Clear contentEditable selection when it can't be drawn
So that we don't leave a stray selection that'll be reset
to some nonsense position by the DOM changes.
Closes codemirror#46251 parent 168d228 commit b470f24
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
0 commit comments