Closed calpa closed 1 year ago
@fregante Is there any form of documentation indicating how one might debug/add support for a site on which GhostText doesn't work? I'm interested in getting it to work on Colab.
"Support" is made of 2 parts:
If the value an be set via DOM, like for a standard contentEditable, the second point would be easy:
In the more likely case where you have to access the website’s own script data, you'd have to go through the AdvancedTextWrapper
, which communicates with the unsafe-messenger
script to get and set the text:
You can see the above piece of code uses a local CodeMirror
property and then sends the value via events.
It looks like Google Colab uses Monaco editor, which is tracked here:
I'd definitely love to add support for it.
Support was added in v23.3.11 🎉
Setup
Browser: Google Chrome Editor: VSCode
Description
Can I use GhostText with Google Colab?