Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
3aea8d73
Z
zui
项目概览
易企天创
/
zui
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
3aea8d73
编写于
1月 27, 2014
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* updated example of kindeditor.
上级
6c415c3d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
38 addition
and
32 deletion
+38
-32
examples/kindeditor.html
examples/kindeditor.html
+38
-32
未找到文件。
examples/kindeditor.html
浏览文件 @
3aea8d73
...
...
@@ -4,44 +4,50 @@
<meta
charset=
'utf-8'
>
<link
href=
"../assets/css/example.css"
rel=
"stylesheet"
>
<link
href=
"../dist/css/zui.css"
rel=
"stylesheet"
>
<script
src=
"../
plugin
s/kindeditor/kindeditor-all-min.js"
></script>
<script
src=
"../
dist/j
s/kindeditor/kindeditor-all-min.js"
></script>
<script
src=
"../dist/js/jquery.js"
></script>
<script
src=
"../dist/js/zui.min.js"
></script>
<script
src=
"../src/js/debug.js"
></script>
<script>
KindEditor
.
ready
(
function
(
K
)
<script>
KindEditor
.
ready
(
function
(
K
)
{
K
.
create
(
'
textarea.kindeditor
'
,
{
K
.
create
(
'
textarea.kindeditor
'
,
{
allowFileManager
:
true
,
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
});
K
.
create
(
'
textarea.kindeditorSimple
'
,
{
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
,
resizeType
:
1
,
allowPreviewEmoticons
:
false
,
allowImageUpload
:
false
,
items
:
[
'
fontname
'
,
'
fontsize
'
,
'
|
'
,
'
forecolor
'
,
'
hilitecolor
'
,
'
bold
'
,
'
italic
'
,
'
underline
'
,
'
removeformat
'
,
'
|
'
,
'
justifyleft
'
,
'
justifycenter
'
,
'
justifyright
'
,
'
insertorderedlist
'
,
'
insertunorderedlist
'
,
'
|
'
,
'
emoticons
'
,
'
image
'
,
'
link
'
]
});
allowFileManager
:
true
,
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
,
afterBlur
:
function
(){
$
(
'
#content
'
).
prev
(
'
.ke-container
'
).
removeClass
(
'
focus
'
);},
afterFocus
:
function
(){
$
(
'
#content
'
).
prev
(
'
.ke-container
'
).
addClass
(
'
focus
'
);}
});
K
.
create
(
'
textarea.customStyle
'
,
{
themeType
:
'
simple
'
,
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
});
K
.
create
(
'
textarea.kindeditorSimple
'
,
{
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
,
resizeType
:
1
,
allowPreviewEmoticons
:
false
,
allowImageUpload
:
false
,
items
:
[
'
fontname
'
,
'
fontsize
'
,
'
|
'
,
'
forecolor
'
,
'
hilitecolor
'
,
'
bold
'
,
'
italic
'
,
'
underline
'
,
'
removeformat
'
,
'
|
'
,
'
justifyleft
'
,
'
justifycenter
'
,
'
justifyright
'
,
'
insertorderedlist
'
,
'
insertunorderedlist
'
,
'
|
'
,
'
emoticons
'
,
'
image
'
,
'
link
'
],
afterBlur
:
function
(){
$
(
'
#contentSimple
'
).
prev
(
'
.ke-container
'
).
removeClass
(
'
focus
'
);},
afterFocus
:
function
(){
$
(
'
#contentSimple
'
).
prev
(
'
.ke-container
'
).
addClass
(
'
focus
'
);}
});
K
.
create
(
'
textarea.customStyle
'
,
{
themeType
:
'
simple
'
,
bodyClass
:
'
article-content
'
,
cssPath
:
'
../dist/css/zui.css
'
,
afterBlur
:
function
(){
$
(
'
#contentCustom
'
).
prev
(
'
.ke-container
'
).
removeClass
(
'
focus
'
);},
afterFocus
:
function
(){
$
(
'
#contentCustom
'
).
prev
(
'
.ke-container
'
).
addClass
(
'
focus
'
);}
});
</script>
});
</script>
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<script src="../assets/js/respond.js"></script>
...
...
@@ -109,13 +115,13 @@
<h3>
类型
</h3>
<h4>
默认模式
</h4>
<textarea
name=
"content"
class=
'form-control kindeditor'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
<textarea
id=
"content"
name=
"content"
class=
'form-control kindeditor'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
<h4>
简单模式
</h4>
<textarea
name=
"content"
class=
'form-control kindeditorSimple'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
<textarea
id=
"contentSimple"
name=
"content"
class=
'form-control kindeditorSimple'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
<h3>
变化
</h3>
<h4>
简单风格
</h4>
<textarea
name=
"content"
class=
'form-control customStyle'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
<textarea
id=
"contentCustom"
name=
"content"
class=
'form-control customStyle'
style=
"height:150px;visibility:hidden;"
>
KindEditor
</textarea>
</section>
</article>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录