Fork and setup for your use.
Build
$ yarn install
$ yarn run build
Take it.
<script src='/dist/bundle.js'></script>
<script>
window.onload = function(){
window.createMyEditor(document.body, {});
}
</script>
$ gulp watch
See demo/index.html
Need this setting.
module: {
loaders: [
{ test: /\.coffee$/, loader: "coffee" },
{ test: /\.css$/ , loader: "style!css?root=." }
]
},
I recommend bundled file via script.