diff options
-rw-r--r-- | walk-input.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/walk-input.js b/walk-input.js index f310875..ef3db1c 100644 --- a/walk-input.js +++ b/walk-input.js @@ -81,7 +81,7 @@ var types = [ "tel", "color", ].map(function(type) "@type=" + type.quote()).join(" or "); -var xpath = '//input[(' + types + ' or not(@type)) and not(@disabled)] | //textarea'; +var xpath = '//input[(' + types + ' or not(@type)) and not(@disabled)] | //textarea | //*[@contenteditable="true"]'; function isVisible (elem) { while (elem && !(elem instanceof HTMLDocument)) { |