Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_54851307
vue-vben-admin
提交
edc75251
V
vue-vben-admin
项目概览
weixin_54851307
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
edc75251
编写于
4月 07, 2021
作者:
V
Vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: delete tinymce useless style files
上级
5b8eb4a4
变更
19
展开全部
隐藏空白更改
内联
并排
Showing
19 changed file
with
4 addition
and
9134 deletion
+4
-9134
public/resource/tinymce/skins/content/default/content.css
public/resource/tinymce/skins/content/default/content.css
+0
-57
public/resource/tinymce/skins/content/default/content.min.css
...ic/resource/tinymce/skins/content/default/content.min.css
+0
-23
public/resource/tinymce/skins/content/document/content.css
public/resource/tinymce/skins/content/document/content.css
+0
-60
public/resource/tinymce/skins/content/document/content.min.css
...c/resource/tinymce/skins/content/document/content.min.css
+0
-21
public/resource/tinymce/skins/content/writer/content.css
public/resource/tinymce/skins/content/writer/content.css
+0
-58
public/resource/tinymce/skins/content/writer/content.min.css
public/resource/tinymce/skins/content/writer/content.min.css
+0
-23
public/resource/tinymce/skins/ui/oxide-dark/content.css
public/resource/tinymce/skins/ui/oxide-dark/content.css
+0
-614
public/resource/tinymce/skins/ui/oxide-dark/content.inline.css
...c/resource/tinymce/skins/ui/oxide-dark/content.inline.css
+0
-622
public/resource/tinymce/skins/ui/oxide-dark/content.mobile.css
...c/resource/tinymce/skins/ui/oxide-dark/content.mobile.css
+0
-35
public/resource/tinymce/skins/ui/oxide-dark/skin.css
public/resource/tinymce/skins/ui/oxide-dark/skin.css
+0
-2370
public/resource/tinymce/skins/ui/oxide-dark/skin.mobile.css
public/resource/tinymce/skins/ui/oxide-dark/skin.mobile.css
+0
-799
public/resource/tinymce/skins/ui/oxide/content.css
public/resource/tinymce/skins/ui/oxide/content.css
+0
-614
public/resource/tinymce/skins/ui/oxide/content.inline.css
public/resource/tinymce/skins/ui/oxide/content.inline.css
+0
-622
public/resource/tinymce/skins/ui/oxide/content.mobile.css
public/resource/tinymce/skins/ui/oxide/content.mobile.css
+0
-35
public/resource/tinymce/skins/ui/oxide/skin.css
public/resource/tinymce/skins/ui/oxide/skin.css
+0
-2370
public/resource/tinymce/skins/ui/oxide/skin.mobile.css
public/resource/tinymce/skins/ui/oxide/skin.mobile.css
+0
-799
src/components/Tinymce/src/Editor.vue
src/components/Tinymce/src/Editor.vue
+1
-3
src/components/Tinymce/src/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
已删除
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
已删除
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
已删除
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
已删除
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
已删除
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
已删除
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
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide-dark/content.inline.css
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide-dark/content.mobile.css
已删除
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
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide-dark/skin.mobile.css
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide/content.css
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide/content.inline.css
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide/content.mobile.css
已删除
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
已删除
100644 → 0
浏览文件 @
5b8eb4a4
此差异已折叠。
点击以展开。
public/resource/tinymce/skins/ui/oxide/skin.mobile.css
已删除
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
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录