Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
edc75251
提交
edc75251
authored
4月 07, 2021
作者:
Vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: delete tinymce useless style files
上级
5b8eb4a4
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
4 行增加
和
329 行删除
+4
-329
content.css
public/resource/tinymce/skins/content/default/content.css
+0
-58
content.min.css
...ic/resource/tinymce/skins/content/default/content.min.css
+0
-23
content.css
public/resource/tinymce/skins/content/document/content.css
+0
-61
content.min.css
...c/resource/tinymce/skins/content/document/content.min.css
+0
-21
content.css
public/resource/tinymce/skins/content/writer/content.css
+0
-59
content.min.css
public/resource/tinymce/skins/content/writer/content.min.css
+0
-23
content.css
public/resource/tinymce/skins/ui/oxide-dark/content.css
+0
-0
content.inline.css
...c/resource/tinymce/skins/ui/oxide-dark/content.inline.css
+0
-0
content.mobile.css
...c/resource/tinymce/skins/ui/oxide-dark/content.mobile.css
+0
-36
skin.css
public/resource/tinymce/skins/ui/oxide-dark/skin.css
+0
-0
skin.mobile.css
public/resource/tinymce/skins/ui/oxide-dark/skin.mobile.css
+0
-0
content.css
public/resource/tinymce/skins/ui/oxide/content.css
+0
-0
content.inline.css
public/resource/tinymce/skins/ui/oxide/content.inline.css
+0
-0
content.mobile.css
public/resource/tinymce/skins/ui/oxide/content.mobile.css
+0
-36
skin.css
public/resource/tinymce/skins/ui/oxide/skin.css
+0
-0
skin.mobile.css
public/resource/tinymce/skins/ui/oxide/skin.mobile.css
+0
-0
Editor.vue
src/components/Tinymce/src/Editor.vue
+1
-3
tinymce.ts
src/components/Tinymce/src/tinymce.ts
+2
-8
vite.config.ts
vite.config.ts
+1
-1
没有找到文件。
public/resource/tinymce/skins/content/default/content.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body
{
margin
:
1rem
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;
line-height
:
1.4
;
}
table
{
border-collapse
:
collapse
;
}
table
th
,
table
td
{
padding
:
0.4rem
;
border
:
1px
solid
#ccc
;
}
figure
{
display
:
table
;
margin
:
1rem
auto
;
}
figure
figcaption
{
display
:
block
;
margin-top
:
0.25rem
;
color
:
#999
;
text-align
:
center
;
}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;
}
code
{
padding
:
0.1rem
0.2rem
;
background-color
:
#e8e8e8
;
border-radius
:
3px
;
}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;
}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;
}
\ No newline at end of file
public/resource/tinymce/skins/content/default/content.min.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body
{
margin
:
1rem
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;
line-height
:
1.4
;}
table
{
border-collapse
:
collapse
;}
table
td
,
table
th
{
padding
:
.4rem
;
border
:
1px
solid
#ccc
;}
figure
{
display
:
table
;
margin
:
1rem
auto
;}
figure
figcaption
{
display
:
block
;
margin-top
:
.25rem
;
color
:
#999
;
text-align
:
center
;}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;}
code
{
padding
:
.1rem
.2rem
;
background-color
:
#e8e8e8
;
border-radius
:
3px
;}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;}
public/resource/tinymce/skins/content/document/content.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
@media
screen
{
html
{
background
:
#f4f4f4
;
}
}
body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;
}
@media
screen
{
body
{
max-width
:
820px
;
min-height
:
calc
(
100vh
-
1rem
);
padding
:
4rem
6rem
6rem
6rem
;
margin
:
1rem
auto
0
;
background-color
:
#fff
;
box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
0.15
);
box-sizing
:
border-box
;
}
}
table
{
border-collapse
:
collapse
;
}
table
th
,
table
td
{
padding
:
0.4rem
;
border
:
1px
solid
#ccc
;
}
figure
figcaption
{
margin-top
:
0.25rem
;
color
:
#999
;
text-align
:
center
;
}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;
}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;
}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;
}
\ No newline at end of file
public/resource/tinymce/skins/content/document/content.min.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
@media
screen
{
html
{
background
:
#f4f4f4
;}}
body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;}
@media
screen
{
body
{
max-width
:
820px
;
min-height
:
calc
(
100vh
-
1rem
);
padding
:
4rem
6rem
6rem
6rem
;
margin
:
1rem
auto
0
;
background-color
:
#fff
;
box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
.15
);
box-sizing
:
border-box
;}}
table
{
border-collapse
:
collapse
;}
table
td
,
table
th
{
padding
:
.4rem
;
border
:
1px
solid
#ccc
;}
figure
figcaption
{
margin-top
:
.25rem
;
color
:
#999
;
text-align
:
center
;}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;}
public/resource/tinymce/skins/content/writer/content.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body
{
max-width
:
900px
;
margin
:
1rem
auto
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;
line-height
:
1.4
;
}
table
{
border-collapse
:
collapse
;
}
table
th
,
table
td
{
padding
:
0.4rem
;
border
:
1px
solid
#ccc
;
}
figure
{
display
:
table
;
margin
:
1rem
auto
;
}
figure
figcaption
{
display
:
block
;
margin-top
:
0.25rem
;
color
:
#999
;
text-align
:
center
;
}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;
}
code
{
padding
:
0.1rem
0.2rem
;
background-color
:
#e8e8e8
;
border-radius
:
3px
;
}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;
}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;
}
\ No newline at end of file
public/resource/tinymce/skins/content/writer/content.min.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body
{
max-width
:
900px
;
margin
:
1rem
auto
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Open Sans'
,
'Helvetica Neue'
,
sans-serif
;
line-height
:
1.4
;}
table
{
border-collapse
:
collapse
;}
table
td
,
table
th
{
padding
:
.4rem
;
border
:
1px
solid
#ccc
;}
figure
{
display
:
table
;
margin
:
1rem
auto
;}
figure
figcaption
{
display
:
block
;
margin-top
:
.25rem
;
color
:
#999
;
text-align
:
center
;}
hr
{
border-color
:
#ccc
;
border-style
:
solid
;
border-width
:
1px
0
0
0
;}
code
{
padding
:
.1rem
.2rem
;
background-color
:
#e8e8e8
;
border-radius
:
3px
;}
.mce-content-body
:not
([
dir
=
rtl
])
blockquote
{
padding-left
:
1rem
;
margin-left
:
1.5rem
;
border-left
:
2px
solid
#ccc
;}
.mce-content-body
[
dir
=
rtl
]
blockquote
{
padding-right
:
1rem
;
margin-right
:
1.5rem
;
border-right
:
2px
solid
#ccc
;}
public/resource/tinymce/skins/ui/oxide-dark/content.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide-dark/content.inline.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide-dark/content.mobile.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
.tinymce-mobile-unfocused-selections
.tinymce-mobile-unfocused-selection
{
position
:
absolute
;
display
:
inline-block
;
/* Note: this file is used inside the content, so isn't part of theming */
background-color
:
green
;
opacity
:
0.5
;
}
body
{
-webkit-text-size-adjust
:
none
;
}
body
img
{
/* this is related to the content margin */
max-width
:
96vw
;
}
body
table
img
{
max-width
:
95%
;
}
body
{
font-family
:
sans-serif
;
}
table
{
border-collapse
:
collapse
;
}
\ No newline at end of file
public/resource/tinymce/skins/ui/oxide-dark/skin.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide-dark/skin.mobile.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide/content.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide/content.inline.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide/content.mobile.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
.tinymce-mobile-unfocused-selections
.tinymce-mobile-unfocused-selection
{
position
:
absolute
;
display
:
inline-block
;
/* Note: this file is used inside the content, so isn't part of theming */
background-color
:
green
;
opacity
:
0.5
;
}
body
{
-webkit-text-size-adjust
:
none
;
}
body
img
{
/* this is related to the content margin */
max-width
:
96vw
;
}
body
table
img
{
max-width
:
95%
;
}
body
{
font-family
:
sans-serif
;
}
table
{
border-collapse
:
collapse
;
}
\ No newline at end of file
public/resource/tinymce/skins/ui/oxide/skin.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
public/resource/tinymce/skins/ui/oxide/skin.mobile.css
deleted
100644 → 0
浏览文件 @
5b8eb4a4
差异被折叠。
点击展开。
src/components/Tinymce/src/Editor.vue
浏览文件 @
edc75251
...
...
@@ -107,12 +107,10 @@
branding
:
false
,
default_link_target
:
'_blank'
,
link_title
:
false
,
advlist_bullet_styles
:
'square'
,
advlist_number_styles
:
'default'
,
object_resizing
:
false
,
skin
:
'oxide'
,
skin_url
:
'resource/tinymce/skins/ui/oxide'
,
content_css
:
'resource/tinymce/skins/
content/default/content
.css'
,
content_css
:
'resource/tinymce/skins/
ui/oxide/content.min
.css'
,
...
options
,
setup
:
(
editor
:
any
)
=>
{
editorRef
.
value
=
editor
;
...
...
src/components/Tinymce/src/tinymce.ts
浏览文件 @
edc75251
import
tinymce
from
'tinymce/tinymce'
;
import
'tinymce/skins/ui/oxide/skin.min.css'
;
import
'tinymce/themes/silver'
;
import
'tinymce/icons/default/icons'
;
import
'tinymce/themes/mobile'
;
import
'tinymce/plugins/emoticons'
;
import
'tinymce/plugins/emoticons/js/emojis'
;
import
'tinymce/plugins/advlist'
;
import
'tinymce/plugins/anchor'
;
import
'tinymce/plugins/autolink'
;
...
...
@@ -15,8 +11,6 @@ import 'tinymce/plugins/codesample';
import
'tinymce/plugins/directionality'
;
import
'tinymce/plugins/fullscreen'
;
import
'tinymce/plugins/hr'
;
import
'tinymce/plugins/image'
;
import
'tinymce/plugins/imagetools'
;
import
'tinymce/plugins/insertdatetime'
;
import
'tinymce/plugins/link'
;
import
'tinymce/plugins/lists'
;
...
...
@@ -44,12 +38,12 @@ import 'tinymce/plugins/wordcount';
// colorpicker/contextmenu/textcolor plugin is now built in to the core editor, please remove it from your editor configuration
export
const
plugins
=
[
'advlist anchor autolink autosave code codesample directionality
emoticons fullscreen hr image imagetools
insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textpattern visualblocks visualchars wordcount'
,
'advlist anchor autolink autosave code codesample directionality
fullscreen hr
insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textpattern visualblocks visualchars wordcount'
,
];
export
const
toolbar
=
[
'fontsizeselect lineheight searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample'
,
'hr bullist numlist link
image charmap preview anchor pagebreak insertdatetime media table emoticons
forecolor backcolor fullscreen'
,
'hr bullist numlist link
preview anchor pagebreak insertdatetime media table
forecolor backcolor fullscreen'
,
];
export
{
tinymce
};
vite.config.ts
浏览文件 @
edc75251
...
...
@@ -69,7 +69,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
},
// Turning off brotliSize display can slightly reduce packaging time
brotliSize
:
false
,
chunkSizeWarningLimit
:
1
2
00
,
chunkSizeWarningLimit
:
1
5
00
,
},
define
:
{
// setting vue-i18-next
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论