Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5
export const hasSelection = (tiptapEditor) => { const { from, to } = tiptapEditor.state.selection; return from < to; };