Svelte + Prosemirror example
This is just a little demo with the absolute basics of ProseMirror and how to wire things up with Svelte.
Keyboard shortcuts
- CMD + Z: Undo
- CMD + Shift + Z: Redo
- CMD + C: Copy
- CMD + V: Paste
- CMD + B: Toggle bold
- CMD + I: Toggle italics
- CMD + ALT + 0: Paragraph
- CMD + ALT + 1: H1
- CMD + ALT + 2: H2
- CMD + ALT + 3: H3
In Windows use Control instead of CMD.