If you have a placeholder that spans multiple lines, the cursor will be multi line as well in Chrome.
See the following example sleepy-darkness-cks1et - CodeSandbox
In firefox it works as expected.
If you have a placeholder that spans multiple lines, the cursor will be multi line as well in Chrome.
See the following example sleepy-darkness-cks1et - CodeSandbox
In firefox it works as expected.
The drawSelection
extension seems to prevent this from happening. The way the browser draws the native selection is largely outside of CodeMirror’s control, so the recommended solution is to enable drawSelection
.
Makes sense, thank you!