mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Make it possible to TAB to input fields
* lisp/net/eww.el (eww-tag-input): Make it possible to TAB to input fields (bug#22540).
This commit is contained in:
parent
a43a1dcc3d
commit
7f81825073
1 changed files with 3 additions and 1 deletions
|
@ -1136,7 +1136,9 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
|
||||||
(t
|
(t
|
||||||
(eww-form-text dom)))
|
(eww-form-text dom)))
|
||||||
(unless (= start (point))
|
(unless (= start (point))
|
||||||
(put-text-property start (1+ start) 'help-echo "Input field"))))
|
(put-text-property start (1+ start) 'help-echo "Input field")
|
||||||
|
;; Mark this as an element we can TAB to.
|
||||||
|
(put-text-property start (1+ start) 'shr-url dom))))
|
||||||
|
|
||||||
(defun eww-tag-select (dom)
|
(defun eww-tag-select (dom)
|
||||||
(shr-ensure-paragraph)
|
(shr-ensure-paragraph)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue