Fix TextSourceElement.getNodesInRange not including the element (#1284)

This commit is contained in:
toasted-nutbread 2021-01-20 21:35:09 -05:00 committed by GitHub
parent 6c81a10e05
commit ad0002d4d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ class TextSourceElement {
} }
getNodesInRange() { getNodesInRange() {
return []; return [this._element];
} }
static getElementContent(element) { static getElementContent(element) {