This is a downstream fork of Wordgard.
It follows these tagging rules:
- If this upstream repo tagged the latest commit, it'll publish that version.
- Otherwise, it'll add a -beta1 suffix. If the last tag already has such a suffix, it'll bump it.
- The beta tag is always latest rather than prerelease. If you want only the upstream tagged versions, use the official package.
npm install wordgard@npm:@nerd-bible/wordgardThe upstream support has been so excellent that I currently don't plan on doing anything with my fork besides CI.
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()]
})