medium-editor-insert-plugin-webpack
v2.0.6
Published
webpack port of a jQuery insert plugin for MediumEditor
Downloads
2
Readme
webpack port of medium-editor-insert-plugin
This is an ES6 webpack port of medium-editor-insert-plugin.
Installation
npm install medium-editor-insert-plugin-webpack --save
Quick Start
import $ from 'jquery';
import 'imports?$=jquery!jquery-sortable';
import 'imports?$=jquery!blueimp-file-upload';
import activateInsertPlugin from 'medium-insert-plugin-webpack';
var editor = new MediumEditor('.editable');
activateInsertPlugin($)
Finally, you can initialize the insert plugin:
$('.editable').mediumInsert({
editor: editor
});