Last active
March 14, 2016 03:52
-
-
Save edrex/a984b75adcd6be310b47 to your computer and use it in GitHub Desktop.
Loading Prosemirror
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <meta charset="utf-8"> | |
| <script src="https://jspm.io/system@0.19.21.js"></script> | |
| <script> | |
| System.config({ | |
| transpiler: 'babel' | |
| }); | |
| SystemJS.import('./index.js'); | |
| </script> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as prosemirror from 'npm:prosemirror' | |
| import 'npm:prosemirror/dist/menu/menubar' | |
| var editor = new prosemirror.ProseMirror({ | |
| place: document.body, | |
| menuBar: true | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment