* Code for task #59750.

This commit is contained in:
hufangzhou
2022-07-20 10:13:21 +08:00
parent 70f12a35da
commit 1dcf2dcb2c
15 changed files with 695 additions and 268 deletions
+10 -1
View File
@@ -36,7 +36,16 @@ $uid = uniqid('');
'indent', 'outdent', 'subscript', 'superscript', '|',
'table', 'code', 'pagebreak',
'fullscreen', 'source', 'preview', 'about'];
var editorToolsMap = {fullTools: fullTools, simpleTools: simpleTools, bugTools: bugTools};
var docTools =
[ 'formatblock', 'fontname', 'fontsize', 'lineheight', '|', 'forecolor', 'hilitecolor', '|', 'bold', 'italic','underline', 'strikethrough', '|',
'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', '|',
'insertorderedlist', 'insertunorderedlist', '|',
'emoticons', 'image', 'insertfile', 'hr', '|', 'link', '|',
'undo', 'redo', '|', 'selectall', 'cut', 'copy', 'paste', '|', 'plainpaste', 'wordpaste', '|', 'removeformat', 'clearhtml','quickformat', '|',
'indent', 'outdent', 'subscript', 'superscript', '|',
'table', 'code', 'pagebreak',
'source'];
var editorToolsMap = {fullTools: fullTools, simpleTools: simpleTools, bugTools: bugTools, docTools: docTools};
/* Kindeditor default options. */
var editorDefaults =