Commit d08553e7 authored by Akikonata's avatar Akikonata

added tip

parent b2b41e15
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
1. 导出 png 和 svg 图片时,文本中如果包含 ` ` 字符会报错的问题 1. 导出 png 和 svg 图片时,文本中如果包含 ` ` 字符会报错的问题
2. 删除中心节点导致页面卡住 2. 删除中心节点导致页面卡住
3.
## v1.1.1 ## v1.1.1
......
...@@ -82,7 +82,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) { ...@@ -82,7 +82,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
data.then( function ( url ) { data.then( function ( url ) {
console.log( url ); console.log( url );
if ( ie_ver() > 0 ) { if ( ie_ver() > 0 ) {
doSave( 'application/base64', url.replace( 'image/octet-stream,', '' ), filename ); //doSave( 'application/base64', url.replace( 'image/octet-stream,', '' ), filename );
} else { } else {
doDownload( url, filename ); doDownload( url, filename );
} }
......
...@@ -6,7 +6,7 @@ KityMinder.registerProtocal( "png", function () { ...@@ -6,7 +6,7 @@ KityMinder.registerProtocal( "png", function () {
} }
return { return {
fileDescription: 'PNG 图片', fileDescription: 'PNG 图片(暂不支持IE)',
fileExtension: '.png', fileExtension: '.png',
encode: function ( json, km ) { encode: function ( json, km ) {
var domContainer = km.getPaper().container, var domContainer = km.getPaper().container,
......
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