Replies: 1 comment 2 replies
-
Do you think we can fix it by replacing quill with virgo? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The quill on change API has the potential risk of breaking undo/redo or causing UI and YDoc to be inconsistent. (see #415)
I propose to create a new Text API to solve the problem.
Related code at
blocksuite/packages/store/src/text-adapter.ts
Lines 374 to 400 in 92c1d93
Related to #415 toeverything/AFFiNE#632
Reference to https://lexical.dev/docs/concepts/transforms
Beta Was this translation helpful? Give feedback.
All reactions