Commit 124e46cf authored by campaign's avatar campaign

添加只读模式,提供配置项目和接口调用

parent aca57e7e
...@@ -60,11 +60,13 @@ ...@@ -60,11 +60,13 @@
} }
window.KITYMINDER_CONFIG = { window.KITYMINDER_CONFIG = {
'KITYMINDER_HOME_URL': getKMBasePath(), 'KITYMINDER_HOME_URL': getKMBasePath()
//定义工具栏 //定义工具栏
toolbars: [ ,toolbars: [
'hand zoom-in zoom-out | undo redo | bold italic | fontfamily fontsize forecolor | saveto | markers | node | switchlayout | help' 'hand zoom-in zoom-out | undo redo | bold italic | fontfamily fontsize forecolor | saveto | markers | node | switchlayout | help'
] ]
//只读模式,默认是false
//readOnly : false
//设置主题 //设置主题
//,defaultlayoutstyle : 'default' //设置默认的主题 //,defaultlayoutstyle : 'default' //设置默认的主题
......
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