Skip to content

Setup: Validate document instead of prosemirror#126

Draft
hilhorstt wants to merge 1 commit intomainfrom
feat/112-document-parser
Draft

Setup: Validate document instead of prosemirror#126
hilhorstt wants to merge 1 commit intomainfrom
feat/112-document-parser

Conversation

@hilhorstt
Copy link
Copy Markdown
Contributor

@hilhorstt hilhorstt commented Dec 10, 2025

Ik valideer zo editor.view.dom i.p.v. de editor instance. Ik had eerst een poging met editor.getHTML(), parseFromString, etc. Qua validatie is dat prima, maar de offsetHeight/getBoundingClientRect die kan je dan niet meer gebruiken.

Als de validaties ooit naar een service worker gaan, dan is het wellicht wel weer handig om niet direct de dom aan te spreken...

Misschien even over sparren, @Robbert ?

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
editor Error Error Dec 10, 2025 3:24pm

@sonarqubecloud
Copy link
Copy Markdown

@hilhorstt hilhorstt linked an issue Dec 11, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spike: Validatie niet op de TipTap structuur doen

1 participant