add more tests

This commit is contained in:
Philipp Kühn
2020-03-04 10:21:48 +01:00
parent e1ee3dc0dd
commit 79b7344847
4 changed files with 76 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ function resolveSelection(editor: Editor, position: Position = null): ResolvedSe
return {
from: size,
to: size,
to: size - 1, // TODO: -1 only for nodes with content
}
}