Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ModStart
ModStartCMS
提交
18f9cc77
ModStartCMS
项目概览
ModStart
/
ModStartCMS
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ModStartCMS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
18f9cc77
编写于
12月 22, 2021
作者:
ModStart
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
develop
上级
34f62327
变更
17
展开全部
隐藏空白更改
内联
并排
Showing
17 changed file
with
81 addition
and
13 deletion
+81
-13
module/Cms/View/pc/cms/detail/news.blade.php
module/Cms/View/pc/cms/detail/news.blade.php
+2
-0
public/asset/common/editor.js
public/asset/common/editor.js
+1
-1
public/asset/common/htmlEnhance.js
public/asset/common/htmlEnhance.js
+25
-0
public/asset/theme/default/style.css
public/asset/theme/default/style.css
+1
-1
public/asset/vendor/ueditor/themes/default/css/ueditor.css
public/asset/vendor/ueditor/themes/default/css/ueditor.css
+1
-1
public/asset/vendor/ueditor/themes/iframe.css
public/asset/vendor/ueditor/themes/iframe.css
+1
-1
public/asset/vendor/ueditor/ueditor.js
public/asset/vendor/ueditor/ueditor.js
+1
-1
vendor/modstart/modstart/asset/common/editor.js
vendor/modstart/modstart/asset/common/editor.js
+1
-1
vendor/modstart/modstart/asset/common/htmlEnhance.js
vendor/modstart/modstart/asset/common/htmlEnhance.js
+25
-0
vendor/modstart/modstart/asset/theme/default/style.css
vendor/modstart/modstart/asset/theme/default/style.css
+1
-1
vendor/modstart/modstart/asset/vendor/ueditor/themes/default/css/ueditor.css
...start/asset/vendor/ueditor/themes/default/css/ueditor.css
+1
-1
vendor/modstart/modstart/asset/vendor/ueditor/themes/iframe.css
.../modstart/modstart/asset/vendor/ueditor/themes/iframe.css
+1
-1
vendor/modstart/modstart/asset/vendor/ueditor/ueditor.js
vendor/modstart/modstart/asset/vendor/ueditor/ueditor.js
+1
-1
vendor/modstart/modstart/resources/asset/src/sui/bricks/component/html/html.less
...t/resources/asset/src/sui/bricks/component/html/html.less
+15
-0
vendor/modstart/modstart/resources/asset/src/vendor/ueditor/themes/default/css/ueditor.less
.../asset/src/vendor/ueditor/themes/default/css/ueditor.less
+2
-1
vendor/modstart/modstart/resources/asset/src/vendor/ueditor/ueditor.js
...rt/modstart/resources/asset/src/vendor/ueditor/ueditor.js
+1
-1
vendor/modstart/modstart/src/Data/UeditorManager.php
vendor/modstart/modstart/src/Data/UeditorManager.php
+1
-1
未找到文件。
module/Cms/View/pc/cms/detail/news.blade.php
浏览文件 @
18f9cc77
...
...
@@ -5,6 +5,8 @@
@
section
(
'pageDescription'
){{
$record
[
'seoDescription'
]
?
$record
[
'seoDescription'
]
:
$record
[
'title'
]}}
@
endsection
{
!!
\
ModStart\ModStart
::
js
(
'asset/common/lazyLoad.js'
)
!!
}
{
!!
\
ModStart\ModStart
::
js
(
'asset/common/htmlEnhance.js'
)
!!
}
@
section
(
'bodyContent'
)
<
div
class
=
"lg:tw-text-left tw-text-center tw-text-white tw-text-lg tw-py-20 tw-bg-gray-500 ub-cover"
...
...
public/asset/common/editor.js
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
public/asset/common/htmlEnhance.js
0 → 100644
浏览文件 @
18f9cc77
$
(
function
()
{
// 视频显示
$
(
'
.ub-html
'
).
each
(
function
(
i
,
o
)
{
var
$html
=
$
(
o
);
$html
.
find
(
'
p > iframe
'
).
each
(
function
(
i
,
iframe
)
{
var
src
=
$
(
iframe
).
attr
(
'
src
'
);
if
(
!
src
)
{
return
;
}
var
videoList
=
[
'
v.qq.com
'
,
'
ixigua.com
'
,
'
player.youku.com
'
];
for
(
var
i
=
0
;
i
<
videoList
.
length
;
i
++
)
{
if
(
src
.
indexOf
(
videoList
[
i
])
>=
0
)
{
$
(
iframe
).
parent
().
addClass
(
'
video-player
'
);
return
;
}
}
});
});
});
\ No newline at end of file
public/asset/theme/default/style.css
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
public/asset/vendor/ueditor/themes/default/css/ueditor.css
浏览文件 @
18f9cc77
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
public/asset/vendor/ueditor/themes/iframe.css
浏览文件 @
18f9cc77
body
{
font-family
:
"Microsoft YaHei"
,
Helvetica
,
"STHeiti STXihei"
,
"Microsoft JhengHei"
,
Tohoma
,
Arial
;
font-size
:
12px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
a
{
color
:
#09f
;
text-decoration
:
none
}
a
:focus
,
a
:hover
{
color
:
#09f
;
text-decoration
:
none
}
blockquote
{
padding
:
0
0
0
15px
;
margin
:
0
0
18px
;
border-left
:
5px
solid
#eee
}
img
+
br
{
display
:
block
;
padding
:
4px
0
;
content
:
' '
}
body
p
{
margin-bottom
:
1em
}
iframe
{
border
:
none
}
.edui-faked-video
{
border
:
1px
solid
gray
;
width
:
300px
;
height
:
225px
}
img
{
max-width
:
100%
}
.ub-html
{
line-height
:
2em
;
color
:
#636b6f
;
-ms-text-size-adjust
:
100%
;
-webkit-text-size-adjust
:
100%
;
overflow
:
hidden
;
word-wrap
:
break-word
;
font-size
:
inherit
}
.ub-html
>
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:last-child
{
margin-bottom
:
0
}
.ub-html
p
{
padding
:
0
;
line-height
:
1.8em
;
word-spacing
:
.05rem
;
margin
:
.5em
0
}
.ub-html
img
{
max-width
:
100%
}
.ub-html
img
.ub-emotion
{
height
:
2em
;
border
:
none
}
.ub-html
iframe
{
max-width
:
100%
}
.ub-html
video
{
max-width
:
100%
}
.ub-html
a
{
background
:
0
0
}
.ub-html
hr
{
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
height
:
0
}
.ub-html
code
,
.ub-html
kbd
,
.ub-html
pre
{
font-family
:
"Meiryo UI"
,
"YaHei Consolas Hybrid"
,
Consolas
,
"Malgun Gothic"
,
"Segoe UI"
,
"Trebuchet MS"
,
Helvetica
,
monospace
,
monospace
;
font-size
:
1em
;
background
:
#384548
;
color
:
#f8f8f2
;
white-space
:
pre
;
word-spacing
:
normal
;
word-wrap
:
normal
;
tab-size
:
4
;
hyphens
:
none
;
text-align
:
left
;
line-height
:
1.8em
;
padding
:
1em
}
.ub-html
table
{
border-spacing
:
0
;
max-width
:
98%
;
margin
:
1em
0
;
box-shadow
:
0
0
.1rem
#ccc
;
display
:
table
;
text-align
:
left
;
border
:
.05rem
solid
#ddd
;
border-collapse
:
collapse
;
overflow
:
auto
;
word-break
:
keep-all
}
.ub-html
table
tr
{
background-color
:
#fff
;
border-top
:
.05rem
solid
#ccc
}
.ub-html
table
tr
tbody
{
border
:
0
}
.ub-html
table
tr
th
{
font-weight
:
700
;
background-color
:
#f0f0f0
;
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
table
tr
td
{
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
>
p
pre
,
.ub-html
>
p
svg
,
.ub-html
>
p
table
{
-webkit-box-shadow
:
0
0
.5rem
#ccc
;
-moz-box-shadow
:
0
0
.5rem
#ccc
;
box-shadow
:
0
0
.5rem
#ccc
;
margin
:
1em
auto
;
display
:
block
}
.ub-html
td
,
.ub-html
th
{
padding
:
0
}
.ub-html
*
{
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.ub-html
input
{
font
:
.65rem
/
1.4
Helvetica
,
arial
,
freesans
,
clean
,
sans-serif
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
}
.ub-html
a
{
color
:
#4183c4
;
text-decoration
:
none
}
.ub-html
a
:active
,
.ub-html
a
:hover
{
text-decoration
:
underline
}
.ub-html
hr
{
height
:
0
;
margin
:
.75rem
0
;
overflow
:
hidden
;
background
:
0
0
;
border
:
0
;
border-bottom
:
.05rem
solid
#ddd
}
.ub-html
hr
:before
{
display
:
table
;
content
:
""
}
.ub-html
hr
:after
{
display
:
table
;
clear
:
both
;
content
:
""
}
.ub-html
h1
,
.ub-html
h2
,
.ub-html
h3
,
.ub-html
h4
,
.ub-html
h5
,
.ub-html
h6
{
font-weight
:
700
;
margin
:
1.2em
0
.6em
0
;
text-align
:
start
}
.ub-html
h1
{
font-size
:
2em
;
margin
:
1em
0
}
.ub-html
h2
{
font-size
:
1.7em
;
border-bottom
:
1px
solid
#eee
;
line-height
:
2em
}
.ub-html
h3
{
font-size
:
1.5em
}
.ub-html
h4
{
font-size
:
1.25em
}
.ub-html
h5
{
font-size
:
1em
}
.ub-html
h6
{
font-size
:
.85em
}
.ub-html
blockquote
{
display
:
block
;
font-size
:
1em
;
overflow
:
auto
;
overflow-scrolling
:
touch
;
border-left
:
3px
solid
rgba
(
0
,
0
,
0
,
.4
);
background
:
rgba
(
0
,
0
,
0
,
.05
);
color
:
#6a737d
;
padding-top
:
.5em
;
padding-bottom
:
.5em
;
padding-left
:
1em
;
padding-right
:
.5em
;
margin-bottom
:
1em
;
margin-top
:
1em
}
.ub-html
blockquote
p
{
margin
:
.5em
0
}
.ub-html
ol
,
.ub-html
ul
{
padding
:
.5em
0
;
margin-top
:
0
;
margin-bottom
:
0
;
padding-left
:
1.4em
}
.ub-html
ol
li
{
list-style
:
decimal
}
.ub-html
ul
li
{
list-style
:
disc
}
.ub-html
ol
ol
,
.ub-html
ul
ol
{
list-style-type
:
lower-roman
}
.ub-html
ol
ol
ol
,
.ub-html
ol
ul
ol
,
.ub-html
ul
ol
ol
,
.ub-html
ul
ul
ol
{
list-style-type
:
lower-alpha
}
.ub-html
dd
{
margin-left
:
0
}
.ub-html
code
{
color
:
#c7254e
;
background-color
:
#f9f2f4
;
border-radius
:
.2em
;
white-space
:
pre
;
font-family
:
"Source Code Pro"
,
monospace
;
font-size
:
.9em
;
padding
:
.1em
.2em
}
.ub-html
code
.formula
{
color
:
inherit
;
background-color
:
inherit
;
border
:
inherit
;
font-size
:
inherit
}
.ub-html
pre
{
margin-top
:
0
;
margin-bottom
:
0
;
font-family
:
Consolas
,
"Liberation Mono"
,
Menlo
,
Courier
,
monospace
;
font-size
:
.9em
;
border-left
:
none
}
.ub-html
pre
code
{
color
:
inherit
;
background
:
0
0
;
border
:
none
}
.ub-html
{
font-size
:
14px
}
.ub-html
iframe
.edui-faked-video
{
width
:
auto
;
height
:
auto
}
\ No newline at end of file
body
{
font-family
:
"Microsoft YaHei"
,
Helvetica
,
"STHeiti STXihei"
,
"Microsoft JhengHei"
,
Tohoma
,
Arial
;
font-size
:
12px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
a
{
color
:
#09f
;
text-decoration
:
none
}
a
:focus
,
a
:hover
{
color
:
#09f
;
text-decoration
:
none
}
blockquote
{
padding
:
0
0
0
15px
;
margin
:
0
0
18px
;
border-left
:
5px
solid
#eee
}
img
+
br
{
display
:
block
;
padding
:
4px
0
;
content
:
' '
}
body
p
{
margin-bottom
:
1em
}
iframe
{
border
:
none
}
.edui-faked-video
{
border
:
1px
solid
gray
;
width
:
300px
;
height
:
225px
}
img
{
max-width
:
100%
}
.ub-html
{
line-height
:
2em
;
color
:
#636b6f
;
-ms-text-size-adjust
:
100%
;
-webkit-text-size-adjust
:
100%
;
overflow
:
hidden
;
word-wrap
:
break-word
;
font-size
:
inherit
}
.ub-html
>
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:last-child
{
margin-bottom
:
0
}
.ub-html
p
{
padding
:
0
;
line-height
:
1.8em
;
word-spacing
:
.05rem
;
margin
:
.5em
0
}
.ub-html
img
{
max-width
:
100%
}
.ub-html
img
.ub-emotion
{
height
:
2em
;
border
:
none
}
.ub-html
iframe
{
max-width
:
100%
}
.ub-html
p
.video-player
{
position
:
relative
;
padding-bottom
:
56.25%
;
height
:
0
;
overflow
:
hidden
}
.ub-html
p
.video-player
iframe
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
}
.ub-html
video
{
max-width
:
100%
}
.ub-html
a
{
background
:
0
0
}
.ub-html
hr
{
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
height
:
0
}
.ub-html
code
,
.ub-html
kbd
,
.ub-html
pre
{
font-family
:
"Meiryo UI"
,
"YaHei Consolas Hybrid"
,
Consolas
,
"Malgun Gothic"
,
"Segoe UI"
,
"Trebuchet MS"
,
Helvetica
,
monospace
,
monospace
;
font-size
:
1em
;
background
:
#384548
;
color
:
#f8f8f2
;
white-space
:
pre
;
word-spacing
:
normal
;
word-wrap
:
normal
;
tab-size
:
4
;
hyphens
:
none
;
text-align
:
left
;
line-height
:
1.8em
;
padding
:
1em
}
.ub-html
table
{
border-spacing
:
0
;
max-width
:
98%
;
margin
:
1em
0
;
box-shadow
:
0
0
.1rem
#ccc
;
display
:
table
;
text-align
:
left
;
border
:
.05rem
solid
#ddd
;
border-collapse
:
collapse
;
overflow
:
auto
;
word-break
:
keep-all
}
.ub-html
table
tr
{
background-color
:
#fff
;
border-top
:
.05rem
solid
#ccc
}
.ub-html
table
tr
tbody
{
border
:
0
}
.ub-html
table
tr
th
{
font-weight
:
700
;
background-color
:
#f0f0f0
;
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
table
tr
td
{
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
>
p
pre
,
.ub-html
>
p
svg
,
.ub-html
>
p
table
{
-webkit-box-shadow
:
0
0
.5rem
#ccc
;
-moz-box-shadow
:
0
0
.5rem
#ccc
;
box-shadow
:
0
0
.5rem
#ccc
;
margin
:
1em
auto
;
display
:
block
}
.ub-html
td
,
.ub-html
th
{
padding
:
0
}
.ub-html
*
{
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.ub-html
input
{
font
:
.65rem
/
1.4
Helvetica
,
arial
,
freesans
,
clean
,
sans-serif
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
}
.ub-html
a
{
color
:
#4183c4
;
text-decoration
:
none
}
.ub-html
a
:active
,
.ub-html
a
:hover
{
text-decoration
:
underline
}
.ub-html
hr
{
height
:
0
;
margin
:
.75rem
0
;
overflow
:
hidden
;
background
:
0
0
;
border
:
0
;
border-bottom
:
.05rem
solid
#ddd
}
.ub-html
hr
:before
{
display
:
table
;
content
:
""
}
.ub-html
hr
:after
{
display
:
table
;
clear
:
both
;
content
:
""
}
.ub-html
h1
,
.ub-html
h2
,
.ub-html
h3
,
.ub-html
h4
,
.ub-html
h5
,
.ub-html
h6
{
font-weight
:
700
;
margin
:
1.2em
0
.6em
0
;
text-align
:
start
}
.ub-html
h1
{
font-size
:
2em
;
margin
:
1em
0
}
.ub-html
h2
{
font-size
:
1.7em
;
border-bottom
:
1px
solid
#eee
;
line-height
:
2em
}
.ub-html
h3
{
font-size
:
1.5em
}
.ub-html
h4
{
font-size
:
1.25em
}
.ub-html
h5
{
font-size
:
1em
}
.ub-html
h6
{
font-size
:
.85em
}
.ub-html
blockquote
{
display
:
block
;
font-size
:
1em
;
overflow
:
auto
;
overflow-scrolling
:
touch
;
border-left
:
3px
solid
rgba
(
0
,
0
,
0
,
.4
);
background
:
rgba
(
0
,
0
,
0
,
.05
);
color
:
#6a737d
;
padding-top
:
.5em
;
padding-bottom
:
.5em
;
padding-left
:
1em
;
padding-right
:
.5em
;
margin-bottom
:
1em
;
margin-top
:
1em
}
.ub-html
blockquote
p
{
margin
:
.5em
0
}
.ub-html
ol
,
.ub-html
ul
{
padding
:
.5em
0
;
margin-top
:
0
;
margin-bottom
:
0
;
padding-left
:
1.4em
}
.ub-html
ol
li
{
list-style
:
decimal
}
.ub-html
ul
li
{
list-style
:
disc
}
.ub-html
ol
ol
,
.ub-html
ul
ol
{
list-style-type
:
lower-roman
}
.ub-html
ol
ol
ol
,
.ub-html
ol
ul
ol
,
.ub-html
ul
ol
ol
,
.ub-html
ul
ul
ol
{
list-style-type
:
lower-alpha
}
.ub-html
dd
{
margin-left
:
0
}
.ub-html
code
{
color
:
#c7254e
;
background-color
:
#f9f2f4
;
border-radius
:
.2em
;
white-space
:
pre
;
font-family
:
"Source Code Pro"
,
monospace
;
font-size
:
.9em
;
padding
:
.1em
.2em
}
.ub-html
code
.formula
{
color
:
inherit
;
background-color
:
inherit
;
border
:
inherit
;
font-size
:
inherit
}
.ub-html
pre
{
margin-top
:
0
;
margin-bottom
:
0
;
font-family
:
Consolas
,
"Liberation Mono"
,
Menlo
,
Courier
,
monospace
;
font-size
:
.9em
;
border-left
:
none
}
.ub-html
pre
code
{
color
:
inherit
;
background
:
0
0
;
border
:
none
}
.ub-html
{
font-size
:
14px
}
.ub-html
iframe
.edui-faked-video
{
width
:
auto
;
height
:
auto
}
\ No newline at end of file
public/asset/vendor/ueditor/ueditor.js
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
vendor/modstart/modstart/asset/common/editor.js
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
vendor/modstart/modstart/asset/common/htmlEnhance.js
0 → 100644
浏览文件 @
18f9cc77
$
(
function
()
{
// 视频显示
$
(
'
.ub-html
'
).
each
(
function
(
i
,
o
)
{
var
$html
=
$
(
o
);
$html
.
find
(
'
p > iframe
'
).
each
(
function
(
i
,
iframe
)
{
var
src
=
$
(
iframe
).
attr
(
'
src
'
);
if
(
!
src
)
{
return
;
}
var
videoList
=
[
'
v.qq.com
'
,
'
ixigua.com
'
,
'
player.youku.com
'
];
for
(
var
i
=
0
;
i
<
videoList
.
length
;
i
++
)
{
if
(
src
.
indexOf
(
videoList
[
i
])
>=
0
)
{
$
(
iframe
).
parent
().
addClass
(
'
video-player
'
);
return
;
}
}
});
});
});
\ No newline at end of file
vendor/modstart/modstart/asset/theme/default/style.css
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
vendor/modstart/modstart/asset/vendor/ueditor/themes/default/css/ueditor.css
浏览文件 @
18f9cc77
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
vendor/modstart/modstart/asset/vendor/ueditor/themes/iframe.css
浏览文件 @
18f9cc77
body
{
font-family
:
"Microsoft YaHei"
,
Helvetica
,
"STHeiti STXihei"
,
"Microsoft JhengHei"
,
Tohoma
,
Arial
;
font-size
:
12px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
a
{
color
:
#09f
;
text-decoration
:
none
}
a
:focus
,
a
:hover
{
color
:
#09f
;
text-decoration
:
none
}
blockquote
{
padding
:
0
0
0
15px
;
margin
:
0
0
18px
;
border-left
:
5px
solid
#eee
}
img
+
br
{
display
:
block
;
padding
:
4px
0
;
content
:
' '
}
body
p
{
margin-bottom
:
1em
}
iframe
{
border
:
none
}
.edui-faked-video
{
border
:
1px
solid
gray
;
width
:
300px
;
height
:
225px
}
img
{
max-width
:
100%
}
.ub-html
{
line-height
:
2em
;
color
:
#636b6f
;
-ms-text-size-adjust
:
100%
;
-webkit-text-size-adjust
:
100%
;
overflow
:
hidden
;
word-wrap
:
break-word
;
font-size
:
inherit
}
.ub-html
>
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:last-child
{
margin-bottom
:
0
}
.ub-html
p
{
padding
:
0
;
line-height
:
1.8em
;
word-spacing
:
.05rem
;
margin
:
.5em
0
}
.ub-html
img
{
max-width
:
100%
}
.ub-html
img
.ub-emotion
{
height
:
2em
;
border
:
none
}
.ub-html
iframe
{
max-width
:
100%
}
.ub-html
video
{
max-width
:
100%
}
.ub-html
a
{
background
:
0
0
}
.ub-html
hr
{
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
height
:
0
}
.ub-html
code
,
.ub-html
kbd
,
.ub-html
pre
{
font-family
:
"Meiryo UI"
,
"YaHei Consolas Hybrid"
,
Consolas
,
"Malgun Gothic"
,
"Segoe UI"
,
"Trebuchet MS"
,
Helvetica
,
monospace
,
monospace
;
font-size
:
1em
;
background
:
#384548
;
color
:
#f8f8f2
;
white-space
:
pre
;
word-spacing
:
normal
;
word-wrap
:
normal
;
tab-size
:
4
;
hyphens
:
none
;
text-align
:
left
;
line-height
:
1.8em
;
padding
:
1em
}
.ub-html
table
{
border-spacing
:
0
;
max-width
:
98%
;
margin
:
1em
0
;
box-shadow
:
0
0
.1rem
#ccc
;
display
:
table
;
text-align
:
left
;
border
:
.05rem
solid
#ddd
;
border-collapse
:
collapse
;
overflow
:
auto
;
word-break
:
keep-all
}
.ub-html
table
tr
{
background-color
:
#fff
;
border-top
:
.05rem
solid
#ccc
}
.ub-html
table
tr
tbody
{
border
:
0
}
.ub-html
table
tr
th
{
font-weight
:
700
;
background-color
:
#f0f0f0
;
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
table
tr
td
{
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
>
p
pre
,
.ub-html
>
p
svg
,
.ub-html
>
p
table
{
-webkit-box-shadow
:
0
0
.5rem
#ccc
;
-moz-box-shadow
:
0
0
.5rem
#ccc
;
box-shadow
:
0
0
.5rem
#ccc
;
margin
:
1em
auto
;
display
:
block
}
.ub-html
td
,
.ub-html
th
{
padding
:
0
}
.ub-html
*
{
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.ub-html
input
{
font
:
.65rem
/
1.4
Helvetica
,
arial
,
freesans
,
clean
,
sans-serif
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
}
.ub-html
a
{
color
:
#4183c4
;
text-decoration
:
none
}
.ub-html
a
:active
,
.ub-html
a
:hover
{
text-decoration
:
underline
}
.ub-html
hr
{
height
:
0
;
margin
:
.75rem
0
;
overflow
:
hidden
;
background
:
0
0
;
border
:
0
;
border-bottom
:
.05rem
solid
#ddd
}
.ub-html
hr
:before
{
display
:
table
;
content
:
""
}
.ub-html
hr
:after
{
display
:
table
;
clear
:
both
;
content
:
""
}
.ub-html
h1
,
.ub-html
h2
,
.ub-html
h3
,
.ub-html
h4
,
.ub-html
h5
,
.ub-html
h6
{
font-weight
:
700
;
margin
:
1.2em
0
.6em
0
;
text-align
:
start
}
.ub-html
h1
{
font-size
:
2em
;
margin
:
1em
0
}
.ub-html
h2
{
font-size
:
1.7em
;
border-bottom
:
1px
solid
#eee
;
line-height
:
2em
}
.ub-html
h3
{
font-size
:
1.5em
}
.ub-html
h4
{
font-size
:
1.25em
}
.ub-html
h5
{
font-size
:
1em
}
.ub-html
h6
{
font-size
:
.85em
}
.ub-html
blockquote
{
display
:
block
;
font-size
:
1em
;
overflow
:
auto
;
overflow-scrolling
:
touch
;
border-left
:
3px
solid
rgba
(
0
,
0
,
0
,
.4
);
background
:
rgba
(
0
,
0
,
0
,
.05
);
color
:
#6a737d
;
padding-top
:
.5em
;
padding-bottom
:
.5em
;
padding-left
:
1em
;
padding-right
:
.5em
;
margin-bottom
:
1em
;
margin-top
:
1em
}
.ub-html
blockquote
p
{
margin
:
.5em
0
}
.ub-html
ol
,
.ub-html
ul
{
padding
:
.5em
0
;
margin-top
:
0
;
margin-bottom
:
0
;
padding-left
:
1.4em
}
.ub-html
ol
li
{
list-style
:
decimal
}
.ub-html
ul
li
{
list-style
:
disc
}
.ub-html
ol
ol
,
.ub-html
ul
ol
{
list-style-type
:
lower-roman
}
.ub-html
ol
ol
ol
,
.ub-html
ol
ul
ol
,
.ub-html
ul
ol
ol
,
.ub-html
ul
ul
ol
{
list-style-type
:
lower-alpha
}
.ub-html
dd
{
margin-left
:
0
}
.ub-html
code
{
color
:
#c7254e
;
background-color
:
#f9f2f4
;
border-radius
:
.2em
;
white-space
:
pre
;
font-family
:
"Source Code Pro"
,
monospace
;
font-size
:
.9em
;
padding
:
.1em
.2em
}
.ub-html
code
.formula
{
color
:
inherit
;
background-color
:
inherit
;
border
:
inherit
;
font-size
:
inherit
}
.ub-html
pre
{
margin-top
:
0
;
margin-bottom
:
0
;
font-family
:
Consolas
,
"Liberation Mono"
,
Menlo
,
Courier
,
monospace
;
font-size
:
.9em
;
border-left
:
none
}
.ub-html
pre
code
{
color
:
inherit
;
background
:
0
0
;
border
:
none
}
.ub-html
{
font-size
:
14px
}
.ub-html
iframe
.edui-faked-video
{
width
:
auto
;
height
:
auto
}
\ No newline at end of file
body
{
font-family
:
"Microsoft YaHei"
,
Helvetica
,
"STHeiti STXihei"
,
"Microsoft JhengHei"
,
Tohoma
,
Arial
;
font-size
:
12px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
a
{
color
:
#09f
;
text-decoration
:
none
}
a
:focus
,
a
:hover
{
color
:
#09f
;
text-decoration
:
none
}
blockquote
{
padding
:
0
0
0
15px
;
margin
:
0
0
18px
;
border-left
:
5px
solid
#eee
}
img
+
br
{
display
:
block
;
padding
:
4px
0
;
content
:
' '
}
body
p
{
margin-bottom
:
1em
}
iframe
{
border
:
none
}
.edui-faked-video
{
border
:
1px
solid
gray
;
width
:
300px
;
height
:
225px
}
img
{
max-width
:
100%
}
.ub-html
{
line-height
:
2em
;
color
:
#636b6f
;
-ms-text-size-adjust
:
100%
;
-webkit-text-size-adjust
:
100%
;
overflow
:
hidden
;
word-wrap
:
break-word
;
font-size
:
inherit
}
.ub-html
>
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:first-child
{
margin-top
:
0
}
.ub-html
>
p
:last-child
{
margin-bottom
:
0
}
.ub-html
p
{
padding
:
0
;
line-height
:
1.8em
;
word-spacing
:
.05rem
;
margin
:
.5em
0
}
.ub-html
img
{
max-width
:
100%
}
.ub-html
img
.ub-emotion
{
height
:
2em
;
border
:
none
}
.ub-html
iframe
{
max-width
:
100%
}
.ub-html
p
.video-player
{
position
:
relative
;
padding-bottom
:
56.25%
;
height
:
0
;
overflow
:
hidden
}
.ub-html
p
.video-player
iframe
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
}
.ub-html
video
{
max-width
:
100%
}
.ub-html
a
{
background
:
0
0
}
.ub-html
hr
{
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
height
:
0
}
.ub-html
code
,
.ub-html
kbd
,
.ub-html
pre
{
font-family
:
"Meiryo UI"
,
"YaHei Consolas Hybrid"
,
Consolas
,
"Malgun Gothic"
,
"Segoe UI"
,
"Trebuchet MS"
,
Helvetica
,
monospace
,
monospace
;
font-size
:
1em
;
background
:
#384548
;
color
:
#f8f8f2
;
white-space
:
pre
;
word-spacing
:
normal
;
word-wrap
:
normal
;
tab-size
:
4
;
hyphens
:
none
;
text-align
:
left
;
line-height
:
1.8em
;
padding
:
1em
}
.ub-html
table
{
border-spacing
:
0
;
max-width
:
98%
;
margin
:
1em
0
;
box-shadow
:
0
0
.1rem
#ccc
;
display
:
table
;
text-align
:
left
;
border
:
.05rem
solid
#ddd
;
border-collapse
:
collapse
;
overflow
:
auto
;
word-break
:
keep-all
}
.ub-html
table
tr
{
background-color
:
#fff
;
border-top
:
.05rem
solid
#ccc
}
.ub-html
table
tr
tbody
{
border
:
0
}
.ub-html
table
tr
th
{
font-weight
:
700
;
background-color
:
#f0f0f0
;
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
table
tr
td
{
padding
:
.15rem
.3rem
;
border
:
.05rem
solid
#ddd
}
.ub-html
>
p
pre
,
.ub-html
>
p
svg
,
.ub-html
>
p
table
{
-webkit-box-shadow
:
0
0
.5rem
#ccc
;
-moz-box-shadow
:
0
0
.5rem
#ccc
;
box-shadow
:
0
0
.5rem
#ccc
;
margin
:
1em
auto
;
display
:
block
}
.ub-html
td
,
.ub-html
th
{
padding
:
0
}
.ub-html
*
{
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.ub-html
input
{
font
:
.65rem
/
1.4
Helvetica
,
arial
,
freesans
,
clean
,
sans-serif
,
"Segoe UI Emoji"
,
"Segoe UI Symbol"
}
.ub-html
a
{
color
:
#4183c4
;
text-decoration
:
none
}
.ub-html
a
:active
,
.ub-html
a
:hover
{
text-decoration
:
underline
}
.ub-html
hr
{
height
:
0
;
margin
:
.75rem
0
;
overflow
:
hidden
;
background
:
0
0
;
border
:
0
;
border-bottom
:
.05rem
solid
#ddd
}
.ub-html
hr
:before
{
display
:
table
;
content
:
""
}
.ub-html
hr
:after
{
display
:
table
;
clear
:
both
;
content
:
""
}
.ub-html
h1
,
.ub-html
h2
,
.ub-html
h3
,
.ub-html
h4
,
.ub-html
h5
,
.ub-html
h6
{
font-weight
:
700
;
margin
:
1.2em
0
.6em
0
;
text-align
:
start
}
.ub-html
h1
{
font-size
:
2em
;
margin
:
1em
0
}
.ub-html
h2
{
font-size
:
1.7em
;
border-bottom
:
1px
solid
#eee
;
line-height
:
2em
}
.ub-html
h3
{
font-size
:
1.5em
}
.ub-html
h4
{
font-size
:
1.25em
}
.ub-html
h5
{
font-size
:
1em
}
.ub-html
h6
{
font-size
:
.85em
}
.ub-html
blockquote
{
display
:
block
;
font-size
:
1em
;
overflow
:
auto
;
overflow-scrolling
:
touch
;
border-left
:
3px
solid
rgba
(
0
,
0
,
0
,
.4
);
background
:
rgba
(
0
,
0
,
0
,
.05
);
color
:
#6a737d
;
padding-top
:
.5em
;
padding-bottom
:
.5em
;
padding-left
:
1em
;
padding-right
:
.5em
;
margin-bottom
:
1em
;
margin-top
:
1em
}
.ub-html
blockquote
p
{
margin
:
.5em
0
}
.ub-html
ol
,
.ub-html
ul
{
padding
:
.5em
0
;
margin-top
:
0
;
margin-bottom
:
0
;
padding-left
:
1.4em
}
.ub-html
ol
li
{
list-style
:
decimal
}
.ub-html
ul
li
{
list-style
:
disc
}
.ub-html
ol
ol
,
.ub-html
ul
ol
{
list-style-type
:
lower-roman
}
.ub-html
ol
ol
ol
,
.ub-html
ol
ul
ol
,
.ub-html
ul
ol
ol
,
.ub-html
ul
ul
ol
{
list-style-type
:
lower-alpha
}
.ub-html
dd
{
margin-left
:
0
}
.ub-html
code
{
color
:
#c7254e
;
background-color
:
#f9f2f4
;
border-radius
:
.2em
;
white-space
:
pre
;
font-family
:
"Source Code Pro"
,
monospace
;
font-size
:
.9em
;
padding
:
.1em
.2em
}
.ub-html
code
.formula
{
color
:
inherit
;
background-color
:
inherit
;
border
:
inherit
;
font-size
:
inherit
}
.ub-html
pre
{
margin-top
:
0
;
margin-bottom
:
0
;
font-family
:
Consolas
,
"Liberation Mono"
,
Menlo
,
Courier
,
monospace
;
font-size
:
.9em
;
border-left
:
none
}
.ub-html
pre
code
{
color
:
inherit
;
background
:
0
0
;
border
:
none
}
.ub-html
{
font-size
:
14px
}
.ub-html
iframe
.edui-faked-video
{
width
:
auto
;
height
:
auto
}
\ No newline at end of file
vendor/modstart/modstart/asset/vendor/ueditor/ueditor.js
浏览文件 @
18f9cc77
此差异已折叠。
点击以展开。
vendor/modstart/modstart/resources/asset/src/sui/bricks/component/html/html.less
浏览文件 @
18f9cc77
...
...
@@ -39,6 +39,21 @@
max-width: 100%;
}
p.video-player {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
video {
max-width: 100%;
}
...
...
vendor/modstart/modstart/resources/asset/src/vendor/ueditor/themes/default/css/ueditor.less
浏览文件 @
18f9cc77
...
...
@@ -2223,7 +2223,8 @@ div.edui-box {
}
}
.CodeMirror pre {
color: #333;
line-height: 1.1em;
}
vendor/modstart/modstart/resources/asset/src/vendor/ueditor/ueditor.js
浏览文件 @
18f9cc77
...
...
@@ -29718,7 +29718,7 @@
var editor = new UE.Editor(options);
editor.options.editor = editor;
utils.loadFile(document, {
href: editor.options.themePath + editor.options.theme + "/css/ueditor.css?202112
14
",
href: editor.options.themePath + editor.options.theme + "/css/ueditor.css?202112
22
",
tag: "link",
type: "text/css",
rel: "stylesheet"
vendor/modstart/modstart/src/Data/UeditorManager.php
浏览文件 @
18f9cc77
...
...
@@ -105,7 +105,7 @@ class UeditorManager
'state'
=>
''
,
'list'
=>
null
);
if
(
AdminPermission
::
isDemo
())
{
if
(
$uploadTable
==
'admin_upload'
&&
AdminPermission
::
isDemo
())
{
$sret
[
'state'
]
=
'ERROR'
;
return
Response
::
jsonRaw
(
$sret
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录