sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.16k stars 210 forks source link

slate editor bug #5513

Open williamstein opened 2 years ago

williamstein commented 2 years ago
  1. Have open only the WYSIWYG Editable view of a markdown file
  2. Type something then immediately hit "command (or alt)+ enter"
  3. The frame splits to reveal text source input on the right. However, what you just typed in the Editable view vanishes.

The problem is that splitting the frame really deletes it and creates a new one to the left and right. The state of the slate editor (what you just type), didn't get saved before the frame went away, so it just got lost.

williamstein commented 1 month ago

Still a bug.