robindijkhof / overleaf-textarea

This plugin displays your tex source in a textarea so plugins like grammarly can check it.
GNU General Public License v3.0
514 stars 31 forks source link

Overleaf is testing a new Source Code Editor #74

Closed Jpfonseca closed 1 year ago

Jpfonseca commented 2 years ago

It seems that Overleaf is currently testing a new Source Code Editor. Currently the extension shows some weird behaviour when using this new editor, so I am switching to the old one sometimes.

In other news, Grammarly can now select the text inside the Source Code Editor altough, sometimes it fails to show the correct suggestions.

robindijkhof commented 2 years ago

How can I try this new editor?

Jpfonseca commented 2 years ago

I believe it's available through premium now only. Not sure: https://user-images.githubusercontent.com/11836470/162586237-bfe714cc-b25b-40d9-9182-d087862937d7.mp4

)

nic0las2001 commented 2 years ago

Hi! I still only have the old editor, however for some reason the text area for grammarly appears behind the compiled pdf and does not let me edit it on chrome. Any idea why this could be? oveleaf_textarea_issue

Jpfonseca commented 2 years ago

I have seen similar behaviour. My guess is they are migrating their code.


From: Nicolas @.> Sent: Saturday, April 9, 2022 7:21:51 PM To: robindijkhof/overleaf-textarea @.> Cc: João Fonseca @.>; Author @.> Subject: Re: [robindijkhof/overleaf-textarea] Overleaf is testing a new Source Code Editor (Issue #74)

Hi! I still only have the old editor, however for some reason the text area for grammarly appears behind the compiled pdf and does not let me edit it on chrome. Any idea why this could be? [oveleaf_textarea_issue]https://user-images.githubusercontent.com/68280106/162586821-50d3afc2-e5aa-48ea-97a2-531ff64f66c2.png

— Reply to this email directly, view it on GitHubhttps://github.com/robindijkhof/overleaf-textarea/issues/74#issuecomment-1094100928, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2JYNQU272H64LPMEJUAOLVEHDD7ANCNFSM5S7NMBDQ. You are receiving this because you authored the thread.Message ID: @.***>

Jpfonseca commented 2 years ago

Seems like removing the <div class="pdfViewer"> does the trick. Or at least we can change the class properties.

nic0las2001 commented 2 years ago

Works for me too! Thanks for the tip! I'll use that for now, until Overleaf stops messing around and a fix comes out!

robindijkhof commented 2 years ago

I just released to fix that pdf preview. Unfortunately, I don't have premium, so I cannot check it out. Any change you can inspect the element to figure out what editor is used? Previously Ace Editor was used.

Jpfonseca commented 2 years ago

@robindijkhof in the Beta they are using CodeMirror instead of Ace