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
62e12516
Commit
62e12516
authored
May 06, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of github.com:fex-team/kityminder into dev
parents
e60fae33
197058bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
CHANGELOG.md
CHANGELOG.md
+3
-1
adapter.js
src/adapter/adapter.js
+5
-1
hyperlink.js
src/module/hyperlink.js
+8
-0
No files found.
CHANGELOG.md
View file @
62e12516
...
@@ -3,15 +3,17 @@
...
@@ -3,15 +3,17 @@
##1.1.3
##1.1.3
###功能更新
###功能更新
1.
添加保存时可修改文件名
1.
添加保存时可修改文件名
2.
添加超链接
2.
添加超链接
功能
3.
优化了当输入中文时,中文显示位置与光标距离过远的问题
3.
优化了当输入中文时,中文显示位置与光标距离过远的问题
4.
选中节点时,按F2直接进入文字编辑状态
4.
选中节点时,按F2直接进入文字编辑状态
5.
添加选中节点后可直接输入文字
5.
添加选中节点后可直接输入文字
6.
添加全部展开和部分展开功能
###问题修复
###问题修复
1.
修复当滚动鼠标滚轮时,光标不跟着移动的问题
1.
修复当滚动鼠标滚轮时,光标不跟着移动的问题
2.
优化了拖拽节点操作体验
2.
优化了拖拽节点操作体验
3.
优化了大文件加载体验
3.
优化了大文件加载体验
4.
修复回退操作后所选节点未回选问题
## v1.1.2
## v1.1.2
...
...
src/adapter/adapter.js
View file @
62e12516
...
@@ -123,8 +123,12 @@ utils.extend( KityMinder, function () {
...
@@ -123,8 +123,12 @@ utils.extend( KityMinder, function () {
pro
.
root
(
$widget
.
kmui
().
getBodyContainer
()
);
pro
.
root
(
$widget
.
kmui
().
getBodyContainer
()
);
//清除光标
//清除光标
km
.
fire
(
'selectionclear'
)
km
.
fire
(
'selectionclear'
)
;
pro
.
initContent
(
km
,
$widget
);
pro
.
initContent
(
km
,
$widget
);
//在dialog上阻止键盘冒泡,导致跟编辑输入冲突的问题
$widget
.
on
(
'keydown keyup keypress mousedown mouseup'
,
function
(
e
){
e
.
stopPropagation
()
});
if
(
!
pro
.
_preventDefault
)
{
if
(
!
pro
.
_preventDefault
)
{
pro
.
initEvent
(
km
,
$widget
);
pro
.
initEvent
(
km
,
$widget
);
}
}
...
...
src/module/hyperlink.js
View file @
62e12516
...
@@ -43,6 +43,14 @@ KityMinder.registerModule( "hyperlink", function () {
...
@@ -43,6 +43,14 @@ KityMinder.registerModule( "hyperlink", function () {
n
.
setData
(
'hyperlink'
);
n
.
setData
(
'hyperlink'
);
km
.
updateLayout
(
n
)
km
.
updateLayout
(
n
)
}
)
}
)
},
queryState
:
function
(
km
)
{
var
nodes
=
km
.
getSelectedNodes
();
if
(
nodes
.
length
==
0
)
{
return
-
1
;
}
}
}
}
)
}
)
},
},
...
...
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