Files
hyperframes/packages/studio-server
Miguel Angel Simon Sierra efdff974df fix(studio): give the spans a text edit adds their ids in the same write
A rich-text patch adds spans, and it left them without their stable ids. The
next preview request minted them and wrote the file a second time — after
Studio had recorded the edit in its history. The recorded "after" no longer
matched the bytes on disk, so the content check refused and undo reported the
file as changed outside Studio. Every colour applied to a run of characters
and every text layer added poisoned the history the same way.

The patch now mints those ids itself, with the same function the later pass
would have used. The clip split already does this for its clone, and its
comment names this exact failure.
2026-08-07 12:03:42 -07:00
..
2026-08-07 15:31:57 +00:00