CommandLink alias syntax
This commit is contained in:
@@ -6,7 +6,6 @@ import {
|
||||
EditorView,
|
||||
ViewPlugin,
|
||||
ViewUpdate,
|
||||
WidgetType,
|
||||
} from "../deps.ts";
|
||||
import { Editor } from "../editor.tsx";
|
||||
import {
|
||||
@@ -41,7 +40,6 @@ export function cleanWikiLinkPlugin(editor: Editor) {
|
||||
if (type.name !== "WikiLink") {
|
||||
return;
|
||||
}
|
||||
// Adding 2 on each side due to [[ and ]] that are outside the WikiLinkPage node
|
||||
if (isCursorInRange(view.state, [from, to])) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user