Don't create gap cursor when the view is not editable. #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The gap cursor should only be created on click if the view is actually editable, matching the behavior the the regular/native cursor.
That's a good idea. But you should use the
somePropmethod (in an expression like!view.someProp("editable", value => value(view.state) === false)) to make sure you also read the prop from plugins.Thanks for the tip, I updated the change accordingly.
Thanks! Merged and released as 1.0.4