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

CodeMirror 6 only works on the first connection, then a reload is required #296

Open fregante opened 8 months ago

fregante commented 8 months ago

Setup

Browser: Safari, Chrome Editor: VS Code, Emacs

Description

  1. Open https://ghosttext.fregante.com/test/#codemirror-6
  2. Activate CM6 field
  3. Type something in either direction
  4. Disconnect in any way
  5. Activate CM6 field again

No changes are transmitted from this point forward