Replies: 1 comment 1 reply
-
Unfortunately I believe there is indeed nothing you can do, pages that use a JS text editor have to have some extra support in Firenvim itself in order to call the JS APIs they use and directly modify the datastructures of the editor instead of the HTML. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I decided to try out using the Nextcloud Mail app. I would like for Firenvim to work when I compose messages. The html for the compose window is:
In my
init.vim
I have the following:This triggers Neovim when I go to compose. However, I cannot save what I write to the webpage, i.e. using
:x
. Also, Neovim does not reinitialize automatically after running:q
. (Usually with my setup, if I run:x
or:q
, leave that page's focus, and then return again, Neovim reinitializes.)I really appreciate this plugin. Thank you in advance for any help.
Update:
I recreated the html on a blank webpage with no Javascript, and I also put the full class attribute in my init.vim, i.e. "message-body ck ck-content etc". On my separate page, it worked fine. The Nextcloud mail composer is running some Javascript that is clearing any text written in Neovim. I am not sure how to remedy that from the Nextcloud side of things. I suppose I would just have to remember to do yG, then close, paste it, and then send my message. Any ideas are welcome. Thanks
Beta Was this translation helpful? Give feedback.
All reactions