var E = window.wangEditor; var editor = new E('#editor') // 或者 var editor = new E( document.getElementById('editor') ) editor.create();
var E = window.wangEditor; var editor = new E('#editor') // 或者 var editor = new E( document.getElementById('editor') ) editor.create();