Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 696 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 696 Bytes

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.