How do I setup a transaction filter to unselect a range of text (from : to). I couldn’t find any examples related to this.
There is always a selection, but you can make it an empty cursor selection with .dispatch({selection: {anchor: somePos}})
.
this works. Thanks