Commit 0eeff27e authored by Akikonata's avatar Akikonata

IE svg

parent d8ecc14b
......@@ -74,7 +74,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
if ( p.fileExtension === '.km' ) {
doSave( 'application/x-javascript', data, me.getMinderTitle() );
} else if ( p.fileExtension === '.svg' ) {
doSave( 'image/svg+xml', data, filename );
//doSave( 'image/svg+xml', data, filename );
} else {
doSave( 'text/html', data, filename );
}
......
KityMinder.registerProtocal( "svg", function () {
return {
fileDescription: 'SVG 矢量图',
fileDescription: 'SVG 矢量图(暂不支持IE)',
fileExtension: '.svg',
encode: function ( json, km ) {
// svg 含有   符号导出报错 Entity 'nbsp' not defined
......
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