diff options
author | Kohei Suzuki | 2013-08-31 16:14:21 +0900 |
---|---|---|
committer | Kohei Suzuki | 2013-08-31 16:14:21 +0900 |
commit | b1896a74b701997bd77677f1ee84ca8e8f834c92 (patch) | |
tree | 77f38813325b48db69ab893e76760cccedf99880 /walk-input.js | |
parent | a0da898d6090e5eaa6dd401873e98e0b2573428e (diff) | |
download | vimperator-plugins-b1896a74b701997bd77677f1ee84ca8e8f834c92.tar.bz2 |
walk-input.js: Walk on contenteditable elements
Diffstat (limited to 'walk-input.js')
-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)) { |