-
Notifications
You must be signed in to change notification settings - Fork 169
flashtype v2 foundation #3691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flashtype v2 foundation #3691
Conversation
|
|
View your CI Pipeline Execution ↗ for commit b15289d
☁️ Nx Cloud last updated this comment at |
Foundation for flashtype
The v1 of flashtype war achitecturally improvable. It build on plate and treated the plate ast as source of truth.
The new v2 architecture uses tiptap with custom extensions that 1:1 map the markdown ast to tiptap for both the ast and the html (!).
That means
standard markdown parsing and serialization without roundtripping hickups via the markdown-wc package
TipTap renders the specc'ed html from markdown-wc which enables out of the box diffing with html-diff
No reliance on serialized ids. The new architecture can fuzzy match nodes to existing state (!!!).