Saving an update from VS Code blanks out the field I'm working on. The connection seems to be working and captures all text from VS Code, but once I click save, everything goes away.
Chrome console looks right:
VM582:1 5 fields on the page
ghost-text.js:979 GhostText: Connected! You can switch to your editor
ghost-text.js:905 sending 5179 characters
ghost-text.js:931 Disabling field
ghost-text.js:979 GhostText: Disconnected!
Description and repro
Saving an update from VS Code blanks out the field I'm working on. The connection seems to be working and captures all text from VS Code, but once I click save, everything goes away.
Chrome console looks right: VM582:1 5 fields on the page ghost-text.js:979 GhostText: Connected! You can switch to your editor ghost-text.js:905 sending 5179 characters ghost-text.js:931 Disabling field ghost-text.js:979 GhostText: Disconnected!
Reproducable steps in screen recording attached: https://github.com/fregante/GhostText/assets/20537536/adf71ec7-69bb-4fbe-bd2a-3ee7f771a311
Browser(s) tried
Chrome v124.0.6367.119 (Official Build) (64-bit)
Editor(s) tried
VS Code v1.89.0