firenvim icon indicating copy to clipboard operation
firenvim copied to clipboard

Overleaf broke firenvim (firefox only?)

Open RoryNesbitt opened this issue 2 years ago • 5 comments

What I tried to do

Write a paper with overleaf, after the editor update

What happened

Overleaf have developed a new editor, that honestly I have no idea what they changed. When you open firenvim in the new editor it doesn't read the entire contents of the file you're editing and instead gets around 88 lines, starting from wherever your cursor was on the page. When you write the file you overwrite the whole of the document therefore deleting most of it. Switching to the legacy editor lets your use firenvim as before and works perfectly. I've reported this in the editor feedback, but who knows if they'll see that, or if they'll care. As long as the legacy editor sticks around I'm more interested in knowing how they broke it.

RoryNesbitt avatar Aug 27 '22 21:08 RoryNesbitt

I'm having a different problem.

When I swicth to another file in Overleaf, it doesn't update correctly. It's just the first file opened when I entered the project.

I can make it update the text box if I switch between the source and the rich text editor, then it opens the correct file selected in the file-tree.

tarsobcaldas avatar Oct 07 '22 09:10 tarsobcaldas

The source legacy editor seems to have disappeared from Overleaf, so now firenvim is officially broken in that webpage. Too bad, given that firenvim was especially useful there.

Anyone willing to have a look at this issue? I am sorry that I do not know enough about HTML or firenvim to contribute.

euglevi avatar Mar 14 '23 09:03 euglevi

Took a brief look, it seems OverLeaf is using CodeMirror6, which is currently only supported on Chrome ( https://github.com/glacambre/editor-adapter/pull/8 ).

glacambre avatar Mar 14 '23 13:03 glacambre

You are right. Indeed on Chrome firenvim is working fine. Well, I will use Chrome for Overleaf until they support Firefox. Thank you very much for the support.

euglevi avatar Mar 14 '23 13:03 euglevi

For those who need to access the Legacy editor, but no longer see it as an option, try appending ?legacy_source_editor=true to the URL.

MahdiNazemi avatar Mar 25 '23 03:03 MahdiNazemi