Wordgard: In-browser rich-text editor from the creator of ProseMirror
Mirrored from Hacker News — AI on Front Page for archival readability. Support the source by reading on the original site.
Wordgard [wɜrd-gɑrd] noun A garden for cultivating words. Open-source JavaScript library implementing an in-browser rich-text editor.
Semantic Rich Text Editor System
Wordgard provides a set of tools for building content editors. It is not a free-form HTML editor, but one where you control precisely what kind of content you support.
Its main distinguishing feature is a powerful programming interface that makes the library a good foundation for customized editors—even complex, demanding ones.
Features
-
Schema-Based
Precisely define the structure of your documents. Create custom document elements.
-
Deluxe API
The editor's programming interface has been obsessively designed for generality and versatility.
-
Modular
Most editor features are implemented as extensions, which means you can replace or modify them when they don't work for you.
-
Accessible
Works for screen reader users, keyboard-only users, and mobile devices. Support for UI internationalization.
-
Right-to-Left Writing
Direction-aware in both the content and the interface. Supports bidirectional content and right-to-left documents.
-
Structured Content
Document trees can include tables, nesting lists, captioned figures, and custom structure.
-
Functional
A large part of the system is written in functional style for clarity and testability.
-
Collaborative Editing
Support for multiple users editing the same document at the same time, merging concurrent edits.
About
Wordgard is open source under a permissive license (MIT). It is being developed on code.haverbeke.berlin. Bug reports are very welcome. Pull requests are not accepted.
If you are using Wordgard commercially, there is a social (but no legal) expectation that you help fund its maintenance. Start here.
Discussing the project or asking questions is best done on the forum. Bugs should be reported through the issue tracker.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.