prevSelection
prevSelection:
InputSelection|0
Defined in: utils/index.ts:15
If insertText has been called, this variable stores the editor’s selection
before the call. This variable is set to 0 right before insertText returns.
This can therefore be used inside a beforeinput handler to determine if
insertText fired the event, and if true, get the selection before the call.
Intended for internal use only.