firenvim icon indicating copy to clipboard operation
firenvim copied to clipboard

Firenvim not getting the text on Reddit.com

Open hankertrix opened this issue 1 year ago • 2 comments

  • OS Version: EndeavourOS Linux 6.10.10-arch1-1
  • Browser Version: Firefox 130.0
  • Browser Addon Version: 0.2.16
  • Neovim Plugin Version: 0.2.16

What I tried to do

I tried to use Firenvim on reddit.com to edit a post, but the text doesn't appear in the Neovim buffer.

What happened

image

You can see that the Neovim buffer only contains two lines, "Cancel" and the next line is "Save Edits". The rest of the post, which can be seen in the picture, is behind the Neovim buffer, but not inside the Neovim buffer.

hankertrix avatar Sep 17 '24 14:09 hankertrix

  • OS Version: Ubuntu 23.10
  • Browser Version: Chrome Version 129.0.6668.89
  • Browser Addon Version: 0.2.16
  • Neovim Plugin Version: 0.2.16

Same end-result. (Found this Github Issue here while searching for a solution to the same problem of firenvim not working on reddit.com.) It also seems to work fine on other sites, including correctly triggering an AutoCmd rule setting the filetype to markdown on github.com. No issues there.

On reddit.com, the behavior differs when starting from the reddit.com Markdown editor mode vs the reddit.com Rich Text editor mode, but in both cases, it's still broken-- just broken differently.

In Markdown mode, typing some chars like "asdf", then pressing <C-e> to trigger firenvim, does not load the "asdf" text from the textarea into the firenvim buffer to begin editing there. Then also, :wq to save and return to the on-page textarea/editor does not write or save the info back to the window, it's just blank.

In Rich Text Editor mode, it does correctly pick up the initial text ("asdf" in my example above), but the :wq to save and return still does not write or save that info back to the window, still blank/broken.

Let me know if there's anything else you'd like me to try in order to diagnose this issue further, and thanks for your help and for the great plug-in.

johnstanforth avatar Oct 20 '24 09:10 johnstanforth

OS Version: Arch Linux 6.6.58-1-lts
Browser Version: Firefox 132.0.2
Browser Addon Version: 2.16 
Neovim Plugin Version: 2.16

Same issue on reddit.com

LaptopDev avatar Nov 15 '24 12:11 LaptopDev