Commit 2712cb08 authored by campaign's avatar campaign

添加帮助

parent 7a72710a
......@@ -63,7 +63,7 @@
'KITYMINDER_HOME_URL': getKMBasePath(),
//定义工具栏
toolbars: [
'hand zoom-in zoom-out | undo redo | bold italic | fontfamily fontsize forecolor | saveto | markers | node | switchlayout'
'hand zoom-in zoom-out | undo redo | bold italic | fontfamily fontsize forecolor | saveto | markers | node | switchlayout | help'
]
//设置主题
......
......@@ -16,7 +16,8 @@ KityMinder.LANG[ 'zh-cn' ] = {
'zoom-in': '放大',
'zoom-out': '缩小',
'markers': '添加标签',
'switchlayout': '切换主题'
'switchlayout': '切换主题',
'help':'帮助'
},
'popupcolor': {
'clearColor': '清空颜色',
......
KM.registerToolbarUI( 'markers', function ( name ) {
KM.registerToolbarUI( 'markers help', function ( name ) {
var me = this,
currentRange, $dialog,
......
......@@ -28,4 +28,7 @@
}
.kmui-btn-toolbar .kmui-btn .kmui-icon-zoom-out {
background: url(../images/zoom_out.png) no-repeat 2px 2px;
}
.kmui-btn-toolbar .kmui-btn .kmui-icon-help {
background: url(../images/flag.png) no-repeat 2px 2px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment