/*
*/
const editor = []
$(function () {
// 目录配置
const Host = Global.Host
const Dir = Global.Dir
if ($('textarea.editor').length > 0) {
// 注入css
const css = ''
+ '.editor-wrap {border:1px solid #ccc;}'
+ '.w-e-toolbar {border-bottom:1px solid #f1f1f1;}'
+ '.w-e-text-container {min-height:200px;}'
+ '.w-e-text-container p {text-indent:0;}'
$('head').append('')
// 创建编辑器
const E = window.wangEditor
$('textarea.editor').each(function (i) {
const $this = $(this)
const html = $this.val().replace(/\?/g, ' ').replace(/