TextSelection is undefined

Getting TextSelection is undefined when attempting to create a new selection using TextSelection.create(). I haven’t been able to find anything in the docs about this - am I missing something? Does anyone have a working example I could reference? That would be very helpful. Thanks!

Sounds like you are not importing it (from prosemirror-state).

:man_facepalming: That works thank you!