HeadlinesBriefing favicon HeadlinesBriefing.com

New JavaScript Rich‑Text Library Wordgard Launches

Hacker News •
×

The open‑source project Wordgard lands as a new in‑browser rich‑text editor built by the author of ProseMirror. Written in JavaScript, it offers a Semantic Rich Text Editor System that lets developers define exactly which elements users may insert, avoiding unrestricted HTML. Its API is designed for deep customization, making it suitable for complex editing interfaces and integrates smoothly with modern frameworks.

Wordgard runs under an MIT license, allowing free commercial use while encouraging contributors to fund its upkeep. The codebase lives on code.haverbeke.berlin, where bug reports are welcomed but pull requests are not accepted, and provides clear contribution guidelines. Community discussion happens on a dedicated forum, and issues are tracked through the project’s issue tracker, providing a clear maintenance workflow.

Because Wordgard focuses on precise content models rather than raw HTML, it fits projects that need strict editorial control, such as publishing platforms or documentation tools. Developers can layer their own UI components atop the core library, leveraging its programming interface to enforce schemas and custom behavior, making it a viable alternative for large‑scale editors.