We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4265e commit 801225dCopy full SHA for 801225d
src/editor/commands.ts
@@ -36,7 +36,7 @@ export async function createHighlightCommand(
36
37
// @ts-expect-error, not typed
38
const editorView = editor.cm as EditorView;
39
- createHighlight(editorView);
+ createHighlight(editorView, selectedText);
40
}
41
42
function expandSelectionBoundary(editor: Editor) {
0 commit comments