In readOnly I don't want cursor I-beam

When I make CM readOnly: true or “nocursor”, there’s still an I-beam cursor. I don’t even want users to select & copy the text, just look at it as a selection in a list. Is there a way to set the cursor to the default arrow or pointer instead of I-beam? Thanks

You should be able to do that with CSS. But even uneditable text has that mouse cursor, so I don’t generally know if that’s a thing you need to change. And preventing selection sounds actively user-hostile.

How do you set the style.cursor attribute of the editor returned from CodeMirror.fromTextArea() ?