Files
webstudio/apps
Bogdan Chadkin 0c3993dce5 Reimplement text editor (#412)
Ref https://github.com/webstudio-is/webstudio-designer/issues/289

Previous implementation relied on custom instance nodes which broke a
lot of builtin behaviour.

With new editor I use only builtin nodes. To preserve styling when
entering editing mode className is computed and assigned to lexical
element. Instances are stored in map and reused by updates converted and
className renderer.

Toolbar now shows "checked" state and allows to toggle off styling.
2022-11-08 00:20:17 +03:00
..
2022-11-08 00:20:17 +03:00