fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.25k stars 116 forks source link

Multiple fields don’t work correctly at once #201

Closed fregante closed 3 years ago

fregante commented 3 years ago

I just noticed a screencast in this article where having 2 fields select meant you could override both with a single editor tab. That’s now how it should work. 😰

https://applech2.com/archives/20210216-ghosttext-for-safari.html

subnut commented 3 years ago

This must be specific to the sublime text plugin. My plugin doesn't behave like that. It opens each field in new tab. See GIF -

EDIT: Maybe not, see my next comment

gifcast_210223204157

fregante commented 3 years ago

It’s a little strange because each field as its own websocket if I remember correctly, so this feels like messages would be mixed in the browser

subnut commented 3 years ago

@fregante Can you reproduce this issue using the Sublime text plugin? I just checked and the issue doesn't seem to occur at all. It behaves as intended!

fregante commented 3 years ago

It seems that the video in the article uses Atom, which is similar to the VS Code plugin as well. I haven’t had time to replicate

fregante commented 3 years ago

ST seems to work correctly, but VS Code is super buggy in every way:

fregante commented 3 years ago

So it appears that it's an issue with Atom and VS Code. Closing this issue here