Closed jeremiahlobo closed 3 years ago
Can you try Sublime Text? It’s the only one I tried so far (and others have tried Vim as well)
I will try sublime but we use other VS code extensions while coding and love to see it working again
update - I tried to do the same with sublime text it does get the code on the sublime text but the change from the code doesn't show up on the textfield
In other words similar problem like VsCode
Are you working on a private site or can you share the URL?
Does it work here? https://ghosttext.github.io/GhostText/demo/
Weirdly it works on the url you sent me, Sorry working on a private site. But We fixed it by revert this code as a hotfix and able to use it https://github.com/GhostText/GhostText/commit/faa5a8d8ea744907b1f968b915c34f30e1dd96a7 removed the code change on content.js
Thank you for identifying the issue!
Yeah I knew that code would cause trouble for some. On the demo page, the fields in the iframe don't work for example. I'll probably have to move that detection to the background.js
script
Hey fregante,
I'm using Chrome and Sublime, and it's no longer working for me or my coworkers. The connection seems to be one way, where the edits made in the browser show up in Sublime, but any edits in Sublime do not translate to the browser. I tried it on your demo site with the same results. I'm getting this red pop-up that reads: "No Supported Elements Found!"
but any edits in Sublime do not translate to the browser
Do you see any messages in the browser’s console?
I tried it on your demo site with the same results. I'm getting this red pop-up that reads: "No Supported Elements Found!"
How's it possible that it doesn't work at all on that page? Can you see any errors on the console in this case as well?
Here's what I'm seeing in the console as well as on the demo page.
The console is sometimes reporting that an update from the editor is being ignored, but I've closed it down and updated the extension and it shows the same error.
I'll release a new version without that piece of code within an hour
Okay, thank you very much!
Thanks @fregante and all you have done with ghost text, Closing this issue :)
I'll leave this open for a little bit longer so others can see if they have issues
v21.1.18 is live on Chrome.
Thanks @fregante testing it in a min :)
Tested and Works :) Thanks again
Thanks for the prompt update @fregante ! Glad it's working again!
Hey @fregante just a short update after your push, been getting this console errors, not sure if it anything to be concerned about
That's because the VSCode extension doesn't send any selection, but it should: https://github.com/jtokoph/ghosttext-vscode/blob/1e460166558d0e53bf879f6c19d15cec320ac668/extension.js#L73
You can open an issue on that repo.
Closing because Firefox will also get the latest bug-free version (whenever they get to approve it)
Setup
Browser: Chrome Editor: Vs Code
Description
GhostText connects to Vs Code editor however doesn't reflect the changes on the webpage's "textfield" after typed on Vs Code using the vscode extension