You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using emacs client as external editor. When trying to edit an input on github.com, emacs client is started, I can edit and save the temp file but then the input is not updated and the temp file is deleted (so edited text is lost). edit-with-external-editor works on other websites.
Precise recipe to reproduce the issue
Go to any github project, try creating an issue for example, give focus to the description input, call edit-with-external-editor, modify the text, save, quit (C-x # for emacs client).
Since it can't be reproduced for all input elements and URLs, it is probably related to the JS logic.
I'm sure lurkers are able to debug and fix it. There's a hint in the sources.
;; BUG: Fails when the input field loses its focus, e.g the DuckDuckGo search;; bar. A possible solution is to keep track of the last focused element for;; each buffer.
(define-parenscript select-input-field ()
(let ((active-element (nyxt/ps:active-element document)))
(when (nyxt/ps:element-editable-p active-element)
(ps:chain active-element (select)))))
Describe the bug
I'm using emacs client as external editor. When trying to edit an input on github.com, emacs client is started, I can edit and save the temp file but then the input is not updated and the temp file is deleted (so edited text is lost).
edit-with-external-editor
works on other websites.Precise recipe to reproduce the issue
Go to any github project, try creating an issue for example, give focus to the description input, call
edit-with-external-editor
, modify the text, save, quit (C-x #
for emacs client).For website-specific issues:
Can you reproduce this issue with Epiphany / GNOME Web (https://wiki.gnome.org/Apps/Web)?
It works with firefox and ghost text.
Information
nyxt --system-information
:The text was updated successfully, but these errors were encountered: