Rich text editor built on Codemirror.
I made this since i was unable to find an editor that fit my needs.
Supports code highlights in all languages from codemirror which is why
the end file will be fairly big (1.4mb).
Does not include stylings!
npm install
npm run build
- Copy the file
./dist/editor.js
to your server - Create a new editor e.g. with
const editor = new MarkdownEditor(document.body)
npm install https://github.com/Flemmli97/markdown-editor
- Create the editor e.g. with
import { MarkdownEditor } from "markdown-editor"
const editor = new MarkdownEditor(document.body)