From ad0002d4d853a698d7bd3e5f09e3cb8e8948e2de Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 20 Jan 2021 21:35:09 -0500 Subject: [PATCH] Fix TextSourceElement.getNodesInRange not including the element (#1284) --- ext/fg/js/text-source-element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fg/js/text-source-element.js b/ext/fg/js/text-source-element.js index 43526060..45186636 100644 --- a/ext/fg/js/text-source-element.js +++ b/ext/fg/js/text-source-element.js @@ -114,7 +114,7 @@ class TextSourceElement { } getNodesInRange() { - return []; + return [this._element]; } static getElementContent(element) {