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
429bd8ab
Commit
429bd8ab
authored
Apr 16, 2014
by
campaign
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
2101a4b1
b2b41e15
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
13 deletions
+11
-13
CHANGELOG.md
CHANGELOG.md
+4
-1
node.js
src/adapter/node.js
+4
-4
saveto.js
src/adapter/saveto.js
+0
-5
minder.js
src/core/minder.js
+1
-1
png.js
src/protocal/png.js
+1
-1
kityminder.css
themes/default/css/kityminder.css
+1
-1
No files found.
CHANGELOG.md
View file @
429bd8ab
...
@@ -8,8 +8,11 @@
...
@@ -8,8 +8,11 @@
1.
支持本地格式文件导入
1.
支持本地格式文件导入
*
支持文件拖拽和网盘文件导入
*
支持文件拖拽和网盘文件导入
*
格式支持 xmind/freemind/mindmanager,其他格式不支持
*
格式支持 xmind/freemind/mindmanager,其他格式不支持
*
支持标签,包括优先级和任务进度
2.
新增节点移动到视野中
2.
新增节点移动到视野中
3.
当前文件名加到 Title 中
4.
分享链接直接到粘贴板(针对已经支持的浏览器)
5.
分享到社交网络
6.
用户登出功能
### 问题修复
### 问题修复
...
...
src/adapter/node.js
View file @
429bd8ab
...
@@ -46,12 +46,12 @@ KM.registerToolbarUI( 'node', function ( name ) {
...
@@ -46,12 +46,12 @@ KM.registerToolbarUI( 'node', function ( name ) {
//状态反射
//状态反射
me
.
on
(
'interactchange'
,
function
()
{
me
.
on
(
'interactchange'
,
function
()
{
var
state
=
0
;
var
state
=
0
;
utils
.
each
(
shortcutKeys
,
function
(
k
)
{
utils
.
each
(
shortcutKeys
,
function
(
k
)
{
state
=
me
.
queryCommandState
(
k
);
state
=
me
.
queryCommandState
(
k
);
if
(
state
!=-
1
)
{
if
(
state
!=
-
1
)
{
return
false
;
return
false
;
}
}
});
}
);
//设置按钮状态
//设置按钮状态
comboboxWidget
.
button
().
kmui
().
disabled
(
state
==
-
1
).
active
(
state
==
1
);
comboboxWidget
.
button
().
kmui
().
disabled
(
state
==
-
1
).
active
(
state
==
1
);
...
...
src/adapter/saveto.js
View file @
429bd8ab
...
@@ -62,11 +62,6 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
...
@@ -62,11 +62,6 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
iframe
.
contentDocument
.
open
(
urltype
,
'replace'
);
iframe
.
contentDocument
.
open
(
urltype
,
'replace'
);
iframe
.
contentDocument
.
writeln
(
d
);
iframe
.
contentDocument
.
writeln
(
d
);
iframe
.
contentDocument
.
execCommand
(
'saveas'
,
''
,
filename
);
iframe
.
contentDocument
.
execCommand
(
'saveas'
,
''
,
filename
);
// var winname = window.open( '', '_blank', 'height=0,width=0,toolbar=no,menubar=no,scrollbars=no,resizable=on,location=no,status=no' );
// winname.document.open( urltype, 'replace' );
// winname.document.writeln( d );
// winname.document.execCommand( 'saveas', '', filename );
// winname.close();
};
};
comboboxWidget
.
on
(
'comboboxselect'
,
function
(
evt
,
res
)
{
comboboxWidget
.
on
(
'comboboxselect'
,
function
(
evt
,
res
)
{
var
data
=
me
.
exportData
(
res
.
value
);
var
data
=
me
.
exportData
(
res
.
value
);
...
...
src/core/minder.js
View file @
429bd8ab
...
@@ -41,7 +41,7 @@ var Minder = KityMinder.Minder = kity.createClass( "KityMinder", {
...
@@ -41,7 +41,7 @@ var Minder = KityMinder.Minder = kity.createClass( "KityMinder", {
this
.
_root
.
setType
(
"root"
);
this
.
_root
.
setType
(
"root"
);
if
(
this
.
_options
.
renderTo
)
{
if
(
this
.
_options
.
renderTo
)
{
this
.
renderTo
(
this
.
_options
.
renderTo
);
this
.
renderTo
(
this
.
_options
.
renderTo
);
this
.
_paper
.
setStyle
(
'font-family'
,
'Arial,Microsoft YaHei
,sans-serif'
);
//this._paper.setStyle( 'font-family', 'Arial,"Microsoft YaHei"
,sans-serif' );
}
}
},
},
_addRenderContainer
:
function
()
{
_addRenderContainer
:
function
()
{
...
...
src/protocal/png.js
View file @
429bd8ab
...
@@ -38,7 +38,7 @@ KityMinder.registerProtocal( "png", function () {
...
@@ -38,7 +38,7 @@ KityMinder.registerProtocal( "png", function () {
$svg
.
attr
(
{
$svg
.
attr
(
{
width
:
renderBox
.
width
,
width
:
renderBox
.
width
,
height
:
renderBox
.
height
,
height
:
renderBox
.
height
,
style
:
'font-family: Arial, "
Heiti SC", "Microsoft Yahei
";'
style
:
'font-family: Arial, "
Microsoft Yahei","Heiti SC
";'
}
);
}
);
// need a xml with width and height
// need a xml with width and height
...
...
themes/default/css/kityminder.css
View file @
429bd8ab
...
@@ -42,5 +42,5 @@ html, body, #kityminder, div.kmui-editor-body {
...
@@ -42,5 +42,5 @@ html, body, #kityminder, div.kmui-editor-body {
overflow
:
hidden
;
overflow
:
hidden
;
}
}
svg
{
svg
{
font-family
:
Arial
,
"
Heiti SC"
,
"Microsoft Yahei"
;
font-family
:
Arial
,
"
Microsoft Yahei"
,
"Heiti SC"
,
sans-serif
;
}
}
\ No newline at end of file
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