hi marijn!
we are using the drawSelection
extension to draw the cursor and are currently looking into how we can hide the caret in read-only mode.
we expected that it’s enough to use EditorState.readOnly.of(false)
, but with this, the caret is still visible.
is this something that could / should be handled in the extension or do we need to add something else (override some styles or whatever) to hide the caret?
best,
peter