Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
3e6ec410
o2oa
项目概览
weixin_42566577
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3e6ec410
编写于
10月 13, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复htmleditor组件只读模式下加载的样式会影响全局样式的问题
上级
7bd9c7aa
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
210 addition
and
55 deletion
+210
-55
o2web/source/o2_lib/htmleditor/ckeditor4161/contents.css
o2web/source/o2_lib/htmleditor/ckeditor4161/contents.css
+27
-54
o2web/source/o2_lib/htmleditor/ckeditor4161/contents_o2.css
o2web/source/o2_lib/htmleditor/ckeditor4161/contents_o2.css
+181
-0
o2web/source/x_component_process_Xform/Htmleditor.js
o2web/source/x_component_process_Xform/Htmleditor.js
+2
-1
未找到文件。
o2web/source/o2_lib/htmleditor/ckeditor4161/contents.css
浏览文件 @
3e6ec410
...
...
@@ -3,8 +3,7 @@ Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
body
{
body
{
/* Font */
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
font-family
:
sans-serif
,
Arial
,
Verdana
,
"Trebuchet MS"
,
"Apple Color Emoji"
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
;
...
...
@@ -19,8 +18,7 @@ body
margin
:
20px
;
}
.cke_editable
{
.cke_editable
{
font-size
:
13px
;
line-height
:
1.6
;
...
...
@@ -28,8 +26,7 @@ body
word-wrap
:
break-word
;
}
blockquote
{
blockquote
{
font-style
:
italic
;
font-family
:
Georgia
,
Times
,
"Times New Roman"
,
serif
;
padding
:
2px
0
;
...
...
@@ -38,81 +35,69 @@ blockquote
border-width
:
0
;
}
.cke_contents_ltr
blockquote
{
.cke_contents_ltr
blockquote
{
padding-left
:
20px
;
padding-right
:
8px
;
border-left-width
:
5px
;
}
.cke_contents_rtl
blockquote
{
.cke_contents_rtl
blockquote
{
padding-left
:
8px
;
padding-right
:
20px
;
border-right-width
:
5px
;
}
a
{
a
{
color
:
#0782C1
;
}
ol
,
ul
,
dl
{
ol
,
ul
,
dl
{
/* IE7: reset rtl list margin. (#7334) */
*
margin-right
:
0px
;
/* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
padding
:
0
40px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-weight
:
normal
;
line-height
:
1.2
;
}
hr
{
hr
{
border
:
0px
;
border-top
:
1px
solid
#ccc
;
}
img
.right
{
img
.right
{
border
:
1px
solid
#ccc
;
float
:
right
;
margin-left
:
15px
;
padding
:
5px
;
}
img
.left
{
img
.left
{
border
:
1px
solid
#ccc
;
float
:
left
;
margin-right
:
15px
;
padding
:
5px
;
}
pre
{
pre
{
white-space
:
pre-wrap
;
/* CSS 2.1 */
word-wrap
:
break-word
;
/* IE7 */
-moz-tab-size
:
4
;
tab-size
:
4
;
}
.marker
{
.marker
{
background-color
:
Yellow
;
}
span
[
lang
]
{
span
[
lang
]
{
font-style
:
italic
;
}
figure
{
figure
{
text-align
:
center
;
outline
:
solid
1px
#ccc
;
background
:
rgba
(
0
,
0
,
0
,
0.05
);
...
...
@@ -121,8 +106,7 @@ figure
display
:
inline-block
;
}
figure
>
figcaption
{
figure
>
figcaption
{
text-align
:
center
;
display
:
block
;
/* For IE8 */
}
...
...
@@ -135,73 +119,62 @@ a > img {
}
/* Widget Styles */
.code-featured
{
.code-featured
{
border
:
5px
solid
red
;
}
.math-featured
{
.math-featured
{
padding
:
20px
;
box-shadow
:
0
0
2px
rgba
(
200
,
0
,
0
,
1
);
background-color
:
rgba
(
255
,
0
,
0
,
0.05
);
margin
:
10px
;
}
.image-clean
{
.image-clean
{
border
:
0
;
background
:
none
;
padding
:
0
;
}
.image-clean
>
figcaption
{
.image-clean
>
figcaption
{
font-size
:
.9em
;
text-align
:
right
;
}
.image-grayscale
{
.image-grayscale
{
background-color
:
white
;
color
:
#666
;
}
.image-grayscale
img
,
img
.image-grayscale
{
.image-grayscale
img
,
img
.image-grayscale
{
filter
:
grayscale
(
100%
);
}
.embed-240p
{
.embed-240p
{
max-width
:
426px
;
max-height
:
240px
;
margin
:
0
auto
;
}
.embed-360p
{
.embed-360p
{
max-width
:
640px
;
max-height
:
360px
;
margin
:
0
auto
;
}
.embed-480p
{
.embed-480p
{
max-width
:
854px
;
max-height
:
480px
;
margin
:
0
auto
;
}
.embed-720p
{
.embed-720p
{
max-width
:
1280px
;
max-height
:
720px
;
margin
:
0
auto
;
}
.embed-1080p
{
.embed-1080p
{
max-width
:
1920px
;
max-height
:
1080px
;
margin
:
0
auto
;
...
...
o2web/source/o2_lib/htmleditor/ckeditor4161/contents_o2.css
0 → 100644
浏览文件 @
3e6ec410
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
body
{
/* Font */
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
font-family
:
sans-serif
,
Arial
,
Verdana
,
"Trebuchet MS"
,
"Apple Color Emoji"
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
;
font-size
:
12px
;
/* Text color */
color
:
#333
;
/* Remove the background color to make it transparent. */
background-color
:
#fff
;
margin
:
20px
;
}
.cke_editable
{
font-size
:
13px
;
line-height
:
1.6
;
/* Fix for missing scrollbars with RTL texts. (#10488) */
word-wrap
:
break-word
;
}
blockquote
{
font-style
:
italic
;
font-family
:
Georgia
,
Times
,
"Times New Roman"
,
serif
;
padding
:
2px
0
;
border-style
:
solid
;
border-color
:
#ccc
;
border-width
:
0
;
}
.cke_contents_ltr
blockquote
{
padding-left
:
20px
;
padding-right
:
8px
;
border-left-width
:
5px
;
}
.cke_contents_rtl
blockquote
{
padding-left
:
8px
;
padding-right
:
20px
;
border-right-width
:
5px
;
}
a
{
color
:
#0782C1
;
}
ol
,
ul
,
dl
{
/* IE7: reset rtl list margin. (#7334) */
*
margin-right
:
0px
;
/* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
padding
:
0
40px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-weight
:
normal
;
line-height
:
1.2
;
}
hr
{
border
:
0px
;
border-top
:
1px
solid
#ccc
;
}
img
.right
{
border
:
1px
solid
#ccc
;
float
:
right
;
margin-left
:
15px
;
padding
:
5px
;
}
img
.left
{
border
:
1px
solid
#ccc
;
float
:
left
;
margin-right
:
15px
;
padding
:
5px
;
}
pre
{
white-space
:
pre-wrap
;
/* CSS 2.1 */
word-wrap
:
break-word
;
/* IE7 */
-moz-tab-size
:
4
;
tab-size
:
4
;
}
.marker
{
background-color
:
Yellow
;
}
span
[
lang
]
{
font-style
:
italic
;
}
figure
{
text-align
:
center
;
outline
:
solid
1px
#ccc
;
background
:
rgba
(
0
,
0
,
0
,
0.05
);
padding
:
10px
;
margin
:
10px
20px
;
display
:
inline-block
;
}
figure
>
figcaption
{
text-align
:
center
;
display
:
block
;
/* For IE8 */
}
a
>
img
{
padding
:
1px
;
margin
:
1px
;
border
:
none
;
outline
:
1px
solid
#0782C1
;
}
/* Widget Styles */
.code-featured
{
border
:
5px
solid
red
;
}
.math-featured
{
padding
:
20px
;
box-shadow
:
0
0
2px
rgba
(
200
,
0
,
0
,
1
);
background-color
:
rgba
(
255
,
0
,
0
,
0.05
);
margin
:
10px
;
}
.image-clean
{
border
:
0
;
background
:
none
;
padding
:
0
;
}
.image-clean
>
figcaption
{
font-size
:
.9em
;
text-align
:
right
;
}
.image-grayscale
{
background-color
:
white
;
color
:
#666
;
}
.image-grayscale
img
,
img
.image-grayscale
{
filter
:
grayscale
(
100%
);
}
.embed-240p
{
max-width
:
426px
;
max-height
:
240px
;
margin
:
0
auto
;
}
.embed-360p
{
max-width
:
640px
;
max-height
:
360px
;
margin
:
0
auto
;
}
.embed-480p
{
max-width
:
854px
;
max-height
:
480px
;
margin
:
0
auto
;
}
.embed-720p
{
max-width
:
1280px
;
max-height
:
720px
;
margin
:
0
auto
;
}
.embed-1080p
{
max-width
:
1920px
;
max-height
:
1080px
;
margin
:
0
auto
;
}
o2web/source/x_component_process_Xform/Htmleditor.js
浏览文件 @
3e6ec410
...
...
@@ -84,7 +84,8 @@ MWF.xApplication.process.Xform.Htmleditor = MWF.APPHtmleditor = new Class(
}
}.
bind
(
this
));
}
this
.
node
.
loadCss
(
"
../o2_lib/htmleditor/ckeditor4161/contents.css
"
);
debugger
;
this
.
node
.
loadCss
(
"
../o2_lib/htmleditor/ckeditor4161/contents_o2.css
"
);
}
else
{
var
config
=
Object
.
clone
(
this
.
json
.
editorProperties
);
if
(
this
.
json
.
config
){
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录