Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
3a7538a8
Z
zui
项目概览
易企天创
/
zui
12 个月 前同步成功
通知
6
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
37
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
37
Issue
37
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3a7538a8
编写于
5月 14, 2019
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* fix conflict between table tab key and transferTab option.
上级
40c12868
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
22 addition
and
8 deletion
+22
-8
dist/lib/kindeditor/kindeditor.js
dist/lib/kindeditor/kindeditor.js
+6
-1
dist/lib/kindeditor/kindeditor.min.js
dist/lib/kindeditor/kindeditor.min.js
+3
-2
docs/examples/kindeditor.html
docs/examples/kindeditor.html
+7
-4
src/js/kindeditor/kindeditor.js
src/js/kindeditor/kindeditor.js
+4
-1
src/js/kindeditor/plugins/advance-table.js
src/js/kindeditor/plugins/advance-table.js
+1
-0
src/js/kindeditor/plugins/zui.js
src/js/kindeditor/plugins/zui.js
+1
-0
未找到文件。
dist/lib/kindeditor/kindeditor.js
浏览文件 @
3a7538a8
/******************************************************************************
*
/******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2013 kindsoft.net
*
...
...
@@ -7,6 +7,9 @@
* @licence http://www.kindsoft.net/license.php
* @version 4.1.9 (2013-10-08)
*******************************************************************************/
/*! KindEditor Copyright (C) kindsoft.net, Licence: http://kindeditor.net/license.php */
(
function
(
window
,
undefined
)
{
if
(
window
.
KindEditor
)
{
return
;
...
...
@@ -10017,6 +10020,7 @@ KindEditor.plugin('zui', function(K) {
self
.
afterTab
(
function
()
{
var
$editor
=
$
(
self
.
edit
.
srcElement
[
0
]);
var
$next
=
$editor
.
next
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
next
().
next
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
parent
().
next
().
find
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
parent
().
parent
().
next
().
find
(
nextFormControl
);
$next
=
$next
.
first
();
...
...
@@ -11332,6 +11336,7 @@ KindEditor.plugin('table', function (K) {
};
var
$selectedCell
=
$
(
selectedCell
.
get
(
0
));
if
(
$selectedCell
.
length
)
{
self
.
focus
();
if
(
!
selectNextCell
(
$selectedCell
))
{
self
.
plugin
.
table
.
rowinsertbelow
();
selectNextCell
(
$selectedCell
);
...
...
dist/lib/kindeditor/kindeditor.min.js
浏览文件 @
3a7538a8
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
docs/examples/kindeditor.html
浏览文件 @
3a7538a8
...
...
@@ -15,8 +15,11 @@
<div
class=
"conatiner"
id=
"contextmenuExample"
>
<h1>
KindEditor 功能测试
</h1>
<div
class=
"row"
>
<div
class=
"col-md-7"
><textarea
id=
"content"
name=
"content"
class=
"form-control kindeditor"
style=
"height:500px;"
>
Hello, world!
</textarea></div>
<div
class=
"col-md-7"
>
<textarea
id=
"content"
name=
"content"
class=
"form-control kindeditor"
style=
"height:500px;"
>
Hello, world!
</textarea>
<br>
<textarea
id=
"content2"
name=
"content2"
class=
"form-control"
style=
"height:100px;"
>
Hello, world!
</textarea>
</div>
<div
class=
"col-md-5"
>
<div
class=
"article-content"
style=
"padding: 0"
>
<strong>
KindEditor 在 ZUI 1.9.1 中的更新
</strong>
...
...
@@ -86,7 +89,6 @@
<li>
<p>
修复 了无法通过
<code>
themeType
</code>
选项指定主题样式表的问题;
</p>
</li>
</ul>
</div>
</div>
...
...
@@ -109,7 +111,8 @@
allowFileManager
:
true
,
bodyClass
:
'
article-content
'
,
cssPath
:
'
../../dist/css/zui.css
'
,
placeholder
:
'
请输入文章内容
\n
Good Luck!
'
placeholder
:
'
请输入文章内容
\n
Good Luck!
'
,
transferTab
:
true
,
});
}
});
...
...
src/js/kindeditor/kindeditor.js
浏览文件 @
3a7538a8
/******************************************************************************
*
/******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2013 kindsoft.net
*
...
...
@@ -7,6 +7,9 @@
* @licence http://www.kindsoft.net/license.php
* @version 4.1.9 (2013-10-08)
*******************************************************************************/
/*! KindEditor Copyright (C) kindsoft.net, Licence: http://kindeditor.net/license.php */
(
function
(
window
,
undefined
)
{
if
(
window
.
KindEditor
)
{
return
;
...
...
src/js/kindeditor/plugins/advance-table.js
浏览文件 @
3a7538a8
...
...
@@ -1072,6 +1072,7 @@ KindEditor.plugin('table', function (K) {
};
var
$selectedCell
=
$
(
selectedCell
.
get
(
0
));
if
(
$selectedCell
.
length
)
{
self
.
focus
();
if
(
!
selectNextCell
(
$selectedCell
))
{
self
.
plugin
.
table
.
rowinsertbelow
();
selectNextCell
(
$selectedCell
);
...
...
src/js/kindeditor/plugins/zui.js
浏览文件 @
3a7538a8
...
...
@@ -45,6 +45,7 @@ KindEditor.plugin('zui', function(K) {
self
.
afterTab
(
function
()
{
var
$editor
=
$
(
self
.
edit
.
srcElement
[
0
]);
var
$next
=
$editor
.
next
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
next
().
next
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
parent
().
next
().
find
(
nextFormControl
);
if
(
!
$next
.
length
)
$next
=
$editor
.
parent
().
parent
().
next
().
find
(
nextFormControl
);
$next
=
$next
.
first
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录