Skip to content

Commit 577d509

Browse files
authored
feat: add format painter (#2149)
1 parent f0a1244 commit 577d509

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

examples/sites/demos/pc/app/fluent-editor/options-composition-api.vue

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const options = ref({
1616
modules: {
1717
// 工具栏
1818
toolbar: [
19+
['undo', 'redo', 'clean', 'format-painter'],
1920
['bold', 'italic', 'underline', 'strike'],
2021
[{ list: 'bullet' }, { list: 'ordered' }],
2122
[{ align: '' }, { align: 'center' }, { align: 'right' }],

examples/sites/demos/pc/app/fluent-editor/options.vue

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default {
2121
modules: {
2222
// 工具栏
2323
toolbar: [
24+
['undo', 'redo', 'clean', 'format-painter'],
2425
['bold', 'italic', 'underline', 'strike'],
2526
[{ list: 'bullet' }, { list: 'ordered' }],
2627
[{ align: '' }, { align: 'center' }, { align: 'right' }],

packages/theme/src/fluent-editor/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
margin-right: 8px;
184184

185185
svg {
186+
width: 16px;
186187
font-size: 16px;
187188
}
188189

packages/vue/src/fluent-editor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"//postversion": "pnpm build"
1212
},
1313
"dependencies": {
14-
"@opentiny/fluent-editor": "~3.18.0",
14+
"@opentiny/fluent-editor": "~3.19.0",
1515
"@opentiny/vue-common": "workspace:~",
1616
"@opentiny/vue-icon": "workspace:~",
1717
"@opentiny/vue-image-viewer": "workspace:~",

0 commit comments

Comments
 (0)