Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
b7446f8d
Commit
b7446f8d
authored
Jun 03, 2021
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
富文本工具栏配置视频
parent
19924cd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ruoyi-ui/src/components/Editor/index.vue
ruoyi-ui/src/components/Editor/index.vue
+2
-1
No files found.
ruoyi-ui/src/components/Editor/index.vue
View file @
b7446f8d
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
[{
color
:
[]
},
{
background
:
[]
}],
// 字体颜色、字体背景颜色
[{
color
:
[]
},
{
background
:
[]
}],
// 字体颜色、字体背景颜色
[{
align
:
[]
}],
// 对齐方式
[{
align
:
[]
}],
// 对齐方式
[
"
clean
"
],
// 清除文本格式
[
"
clean
"
],
// 清除文本格式
[
"
link
"
,
"
image
"
]
// 链接、图片
[
"
link
"
,
"
image
"
,
"
video
"
]
// 链接、图片、视频
],
],
},
},
placeholder
:
"
请输入内容
"
,
placeholder
:
"
请输入内容
"
,
...
@@ -158,6 +158,7 @@ export default {
...
@@ -158,6 +158,7 @@ export default {
});
});
},
},
handleUploadSuccess
(
res
,
file
)
{
handleUploadSuccess
(
res
,
file
)
{
console
.
info
(
file
);
// 获取富文本组件实例
// 获取富文本组件实例
let
quill
=
this
.
Quill
;
let
quill
=
this
.
Quill
;
// 如果上传成功
// 如果上传成功
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment