# Wordgard Wordgard is an in-browser rich-text editor library, released under the MIT license by [[Marijn Haverbeke]], the same person behind [[CodeMirror]], [[ProseMirror]] and [[Acorn]]. It is not a drop-in WYSIWYG widget. It's a toolkit for building your own editor, where you decide exactly which content structures are allowed. You define a schema, and the editor refuses to produce anything outside of it. No free-form HTML soup. ## What it offers - Schema-based documents. You describe the structure you want, including custom elements - A functional core, written that way on purpose for clarity and testability - Extensions for almost everything, so you customize instead of forking - Structured content out of the box: tables, nested lists, captioned figures - Accessibility work for screen readers and keyboard navigation - Bidirectional and right-to-left text support - Collaborative editing for multiple simultaneous users - Zero external dependencies ## Why a new editor instead of ProseMirror 2 This is the interesting part. Haverbeke did not ship this as ProseMirror 2.0. He built it separately, from scratch, because the architectural ideas he wanted had grown incompatible with ProseMirror's original approach. Calling it a new major version would have implied a migration path that doesn't exist. He was also explicit that ProseMirror maintenance continues. The old project is not being abandoned to push people onto the new one. Two things I take from this: 1. When your new understanding breaks the old model, a clean project is more honest than a version bump. Users can read the name and know what they're getting 2. Shipping a successor without killing the predecessor is a rare form of respect for the people who built on your work ## Where it stands Mobile support was not the focus before release, and early users reported real problems there: autocorrect misbehaving, selection issues, breakage after text replacement. Those are acknowledged bugs, not design choices. Keep that in mind if mobile is a hard requirement for you. The project accepts bug reports but not pull requests. Commercial users are expected, socially rather than legally, to fund maintenance. ## Related - [[CodeMirror]] - [[ProseMirror]] - [[Marijn Haverbeke]] - [[Open Source]] ## References - https://wordgard.net/ - https://news.ycombinator.com/item?id=48772573 - https://code.haverbeke.berlin/ - https://prosemirror.net/