The Wordgard rich text editor https://wordgard.net
  • TypeScript 99.9%
  • JavaScript 0.1%
Find a file
2026-07-02 09:36:11 +02:00
bin Add a release script 2026-07-02 09:36:01 +02:00
demo Enable the default keymap by default unless turned off 2026-06-17 17:45:12 +02:00
src Upgrade mocha, send 2026-07-01 22:23:09 +02:00
test Add random change test for doc drawing 2026-07-01 12:34:05 +02:00
.gitignore Replace old-style doc comment links with @link 2026-05-29 17:09:03 +02:00
CHANGELOG.md Mark version 0.1.0 2026-07-02 09:36:11 +02:00
LICENSE Add license file 2026-06-20 22:23:53 +02:00
package.json Mark version 0.1.0 2026-07-02 09:36:11 +02:00
README.md Add a readme file 2026-07-02 09:07:51 +02:00
tsconfig.json Emit ES2022 so that static props don't appear as assignments 2026-06-23 09:24:05 +02:00

Wordgard

[ WEBSITE | DOCS | ISSUES | FORUM

This is the Wordgard package. It implements a rich text editor framework for the browser.

npm i wordgard
import {Wordgard, menuBar} from "wordgard/editor"
import {fullSchema} from "wordgard/schema"
import {history} from "wordgard/history"

const myEditor = Wordgard.create({
  parent: document.body,
  doc: `<h2>Hello World</h2>`,
  config: [fullSchema(), history(), menuBar()]
})

This project is licensed under an MIT license.