Single-line height directives again

This commit is contained in:
Zef Hemel
2023-09-09 21:06:15 +02:00
parent a98c74eba2
commit 3f42377f58
2 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export function directivePlugin() {
return;
}
const cursorInRange = isCursorInRange(state, [parent.from, parent.to]);
const cursorInRange = isCursorInRange(state, [from, to]);
if (type.name === "DirectiveStart") {
if (cursorInRange) {