Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
fb894df6
提交
fb894df6
authored
5月 25, 2022
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: 富文本增加字体选项
上级
9135aa4e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
DeRichText.vue
...end/src/components/canvas/custom-component/DeRichText.vue
+2
-1
index.scss
frontend/src/styles/index.scss
+3
-4
没有找到文件。
frontend/src/components/canvas/custom-component/DeRichText.vue
浏览文件 @
fb894df6
...
...
@@ -107,11 +107,12 @@ export default {
plugins
:
'advlist autolink link image lists charmap media wordcount table contextmenu directionality pagebreak'
,
// 插件
// 工具栏
// toolbar: 'undo redo | fontsizeselect fontselect | bold italic forecolor backcolor underline strikethrough | alignleft aligncenter alignright | lists image media table link | bullist numlist ',
toolbar
:
'undo redo |fontsizeselect forecolor backcolor bold italic underline strikethrough link | '
+
toolbar
:
'undo redo |fo
rmatselect fontselect fo
ntsizeselect forecolor backcolor bold italic underline strikethrough link | '
+
'alignleft aligncenter alignright | bullist numlist |'
+
' blockquote subscript superscript removeformat | table image media | fullscreen '
+
'| bdmap indent2em lineheight formatpainter axupimgs'
,
toolbar_location
:
'/'
,
font_formats
:
'微软雅黑=Microsoft YaHei;宋体=SimSun;黑体=SimHei;仿宋=FangSong;华文黑体=STHeiti;华文楷体=STKaiti;华文宋体=STSong;华文仿宋=STFangsong;Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings'
,
fontsize_formats
:
'12px 14px 16px 18px 20px 22px 24px 28px 32px 36px 48px 56px 72px'
,
// 字体大小
menubar
:
false
,
placeholder
:
'双击输入文字'
,
...
...
frontend/src/styles/index.scss
浏览文件 @
fb894df6
...
...
@@ -27,7 +27,7 @@ body {
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
FangSong
,
SimHei
,
STHeiti
,
STKaiti
,
STSong
,
STFangsong
sans-serif
;
}
label
{
...
...
@@ -815,7 +815,7 @@ div:focus {
}
.pwd-tips
>
span
{
font-weight
:
800
;
color
:
#F56C6C
;
}
...
...
@@ -832,4 +832,4 @@ div:focus {
}
.fu-operator-component__label
{
width
:
100px
!
important
;
}
\ No newline at end of file
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论