You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
4.5 KiB
78 lines
4.5 KiB
!function () { |
|
window.UEDITOR_HOME_URL = "./static/ueditor/"; var s = window.UEDITOR_HOME_URL || l(); function l (s, l) { return function (s, l) { var t = l; /^(\/|\\\\)/.test(l) ? t = /^.+?\w(\/|\\\\)/.exec(s)[0] + l.replace(/^(\/|\\\\)/, "") : /^[a-z]+:/i.test(l) || (s = s.split("#")[0].split("?")[0].replace(/[^\\\/]+$/, ""), t = s + "" + l); return function (s) { var l = /^[a-z]+:\/\//.exec(s)[0], t = null, e = []; (s = (s = s.replace(l, "").split("?")[0].split("#")[0]).replace(/\\/g, "/").split(/\//))[s.length - 1] = ""; for (; s.length;)".." === (t = s.shift()) ? e.pop() : "." !== t && e.push(t); return l + e.join("/") }(t) }(s || self.document.URL || self.location.href, l || (t = document.getElementsByTagName("script"))[t.length - 1].src); var t } window.UEDITOR_CONFIG = { |
|
UEDITOR_HOME_URL: s, serverHeaders: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS' }, serverUrl: "http://192.168.31.51:9000/exam/exam/upload/configAndUpload", toolbars: [[ |
|
"fullscreen", |
|
"source", |
|
"|", |
|
"undo", |
|
"redo", |
|
"|", |
|
"bold", |
|
"italic", |
|
"underline", |
|
"fontborder", |
|
"strikethrough", |
|
"superscript", |
|
"subscript", |
|
"removeformat", |
|
"formatmatch", |
|
"autotypeset", |
|
"blockquote", |
|
"pasteplain", |
|
"|", |
|
"forecolor", |
|
"backcolor", |
|
"insertorderedlist", |
|
"insertunorderedlist", |
|
"selectall", |
|
"cleardoc", |
|
"|", |
|
"rowspacingtop", |
|
"rowspacingbottom", |
|
"lineheight", |
|
"|", |
|
"customstyle", |
|
"paragraph", |
|
"fontfamily", |
|
"fontsize", |
|
"|", |
|
"directionalityltr", |
|
"directionalityrtl", |
|
"indent", |
|
"|", |
|
"justifyleft", |
|
"justifycenter", |
|
"justifyright", |
|
"justifyjustify", |
|
"|", |
|
"touppercase", |
|
"tolowercase", |
|
"|", |
|
"link", |
|
"unlink", |
|
"anchor", |
|
"|", |
|
"imagenone", |
|
"imageleft", |
|
"imageright", |
|
"imagecenter", |
|
"|", |
|
"insertimage", |
|
"emotion", |
|
"scrawl", |
|
"insertvideo", |
|
"music", |
|
"attachment", |
|
"map", |
|
"gmap", |
|
"insertframe", |
|
"insertcode", |
|
"webapp", |
|
"pagebreak", |
|
"template", |
|
"background", |
|
"|", |
|
"gapfilling", |
|
]], labelMap: { anchor: "", undo: "" }, enableAutoSave: !1, saveInterval: 0, elementPathEnabled: !1, wordCount: !1, maximumWords: 1e5, xssFilterRules: !0, inputXssFilter: !0, outputXssFilter: !0, whitList: { a: ["target", "href", "title", "class", "style"], abbr: ["title", "class", "style"], address: ["class", "style"], area: ["shape", "coords", "href", "alt"], article: [], aside: [], audio: ["autoplay", "controls", "loop", "preload", "src", "class", "style"], b: ["class", "style"], bdi: ["dir"], bdo: ["dir"], big: [], blockquote: ["cite", "class", "style"], br: [], caption: ["class", "style"], center: [], cite: [], code: ["class", "style"], col: ["align", "valign", "span", "width", "class", "style"], colgroup: ["align", "valign", "span", "width", "class", "style"], dd: ["class", "style"], del: ["datetime"], details: ["open"], div: ["class", "style"], dl: ["class", "style"], dt: ["class", "style"], em: ["class", "style"], font: ["color", "size", "face"], footer: [], h1: ["class", "style"], h2: ["class", "style"], h3: ["class", "style"], h4: ["class", "style"], h5: ["class", "style"], h6: ["class", "style"], header: [], hr: [], i: ["class", "style"], img: ["src", "alt", "title", "width", "height", "id", "_src", "loadingclass", "class", "data-latex"], ins: ["datetime"], li: ["class", "style"], mark: [], nav: [], ol: ["class", "style"], p: ["class", "style"], pre: ["class", "style"], s: [], section: [], small: [], span: ["class", "style"], sub: ["class", "style"], sup: ["class", "style"], strong: ["class", "style"], table: ["width", "border", "align", "valign", "class", "style"], tbody: ["align", "valign", "class", "style"], td: ["width", "rowspan", "colspan", "align", "valign", "class", "style"], tfoot: ["align", "valign", "class", "style"], th: ["width", "rowspan", "colspan", "align", "valign", "class", "style"], thead: ["align", "valign", "class", "style"], tr: ["rowspan", "align", "valign", "class", "style"], tt: [], u: [], ul: ["class", "style"], video: ["autoplay", "controls", "loop", "preload", "src", "height", "width", "class", "style"], initialFrameHeight: 400, zIndex: 100, } |
|
}, window.UE = { getUEBasePath: l } |
|
}(); |