kindeditor增加切换到简单功能按钮

This commit is contained in:
lizanle 2015-04-27 17:38:05 +08:00
parent 99ae746bff
commit e5e0a5857a
3 changed files with 8 additions and 2 deletions

View File

@ -4972,7 +4972,7 @@ KEditor.prototype = {
'emoticons', 'emoticons',
'source','plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', '|', 'source','plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', '|',
'formatblock', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'formatblock', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
'italic', 'underline', 'removeformat', '|','imagedirectupload','table', 'link', 'fullscreen',"more", 'italic', 'underline', 'removeformat', '|','imagedirectupload','table', 'link', 'fullscreen',"less",
'/', '/',
'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'plainpaste', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'plainpaste',
'justifyfull', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'justifyfull', 'insertunorderedlist', 'indent', 'outdent', 'subscript',

View File

@ -9,7 +9,8 @@
KindEditor.lang({ KindEditor.lang({
imagedirectupload:'本地图片', imagedirectupload:'本地图片',
more: '更多功能', more: '切换到更多功能',
less: '切换到简单功能',
source : 'HTML代码', source : 'HTML代码',
preview : '预览', preview : '预览',
undo : '后退(Ctrl+Z)', undo : '后退(Ctrl+Z)',

View File

@ -333,6 +333,11 @@
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
.ke-icon-less {
background-position: 0px -976px;
width: 16px;
height: 16px;
}
.ke-icon-baidumap { .ke-icon-baidumap {
background-position: 0px -976px; background-position: 0px -976px;
width: 16px; width: 16px;