|
@ -33,19 +33,30 @@ |
|
|
, serverUrl: URL + "ueditor/controller" |
|
|
, serverUrl: URL + "ueditor/controller" |
|
|
|
|
|
|
|
|
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
|
|
|
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
|
|
|
, toolbars: [[ |
|
|
// , toolbars: [[
|
|
|
'fullscreen', 'source', '|', 'undo', 'redo', '|', |
|
|
// 'fullscreen', 'source', '|', 'undo', 'redo', '|',
|
|
|
'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', |
|
|
// 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
|
|
|
'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', |
|
|
// 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
|
|
|
'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', |
|
|
// 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
|
|
|
'directionalityltr', 'directionalityrtl', 'indent', '|', |
|
|
// 'directionalityltr', 'directionalityrtl', 'indent', '|',
|
|
|
'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|', |
|
|
// 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
|
|
|
'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', |
|
|
// 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
|
|
|
'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|', |
|
|
// 'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
|
|
|
'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|', |
|
|
// 'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
|
|
|
'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|', |
|
|
// 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
|
|
|
'print', 'preview', 'searchreplace', 'drafts', 'help' |
|
|
// 'print', 'preview', 'searchreplace', 'drafts', 'help'
|
|
|
]] |
|
|
// ]]
|
|
|
|
|
|
, toolbars: [[ |
|
|
|
|
|
'fullscreen', 'source', '|', 'undo', 'redo', '|', |
|
|
|
|
|
'bold', 'italic', 'underline', 'fontborder', 'strikethrough','removeformat', 'formatmatch', 'autotypeset', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', |
|
|
|
|
|
'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', |
|
|
|
|
|
'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', |
|
|
|
|
|
'directionalityltr', 'directionalityrtl', 'indent', '|', |
|
|
|
|
|
'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|', |
|
|
|
|
|
'horizontal', '|', |
|
|
|
|
|
'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|', |
|
|
|
|
|
'searchreplace', 'help' |
|
|
|
|
|
]] |
|
|
//当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
|
|
|
//当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
|
|
|
//,labelMap:{
|
|
|
//,labelMap:{
|
|
|
// 'anchor':'', 'undo':''
|
|
|
// 'anchor':'', 'undo':''
|
|
@ -140,7 +151,7 @@ |
|
|
// }
|
|
|
// }
|
|
|
//}()
|
|
|
//}()
|
|
|
|
|
|
|
|
|
//,allHtmlEnabled:false //提交到后台的数据是否包含整个html字符串
|
|
|
,allHtmlEnabled:true //提交到后台的数据是否包含整个html字符串
|
|
|
|
|
|
|
|
|
//insertorderedlist
|
|
|
//insertorderedlist
|
|
|
//有序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
|
|
|
//有序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
|
|
|