Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
d08553e7
Commit
d08553e7
authored
Apr 16, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added tip
parent
b2b41e15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
saveto.js
src/adapter/saveto.js
+1
-1
png.js
src/protocal/png.js
+1
-1
No files found.
CHANGELOG.md
View file @
d08553e7
...
...
@@ -18,6 +18,7 @@
1.
导出 png 和 svg 图片时,文本中如果包含
` `
字符会报错的问题
2.
删除中心节点导致页面卡住
3.
## v1.1.1
...
...
src/adapter/saveto.js
View file @
d08553e7
...
...
@@ -82,7 +82,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
data
.
then
(
function
(
url
)
{
console
.
log
(
url
);
if
(
ie_ver
()
>
0
)
{
doSave
(
'application/base64'
,
url
.
replace
(
'image/octet-stream,'
,
''
),
filename
);
//
doSave( 'application/base64', url.replace( 'image/octet-stream,', '' ), filename );
}
else
{
doDownload
(
url
,
filename
);
}
...
...
src/protocal/png.js
View file @
d08553e7
...
...
@@ -6,7 +6,7 @@ KityMinder.registerProtocal( "png", function () {
}
return
{
fileDescription
:
'PNG 图片'
,
fileDescription
:
'PNG 图片
(暂不支持IE)
'
,
fileExtension
:
'.png'
,
encode
:
function
(
json
,
km
)
{
var
domContainer
=
km
.
getPaper
().
container
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment