Simple Prose
Simple content editor based off ProseMirror with a simple extension system for defining functionality.
Simple content editor based off ProseMirror with a simple extension system for defining functionality.
<p></p>
import { HtmlEditor, HtmlExtensions } from "@blinkk/simple-prose";
const extensions = [
new HtmlExtensions.StrongExtension(),
];
const editor = new HtmlEditor(document.querySelector('.editor'), {
"extensions": extensions
})
import { MarkdownEditor, MarkdownExtensions } from "@blinkk/simple-prose";
const extensions = [
new MarkdownExtensions.StrongExtension(),
];
const editor = new MarkdownEditor(document.querySelector('.editor'), {
"extensions": extensions
})
npm install @blinkk/simple-prose