Skip to content

Commit

Permalink
feat: add format painter (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
kagol authored Sep 19, 2024
1 parent f0a1244 commit 577d509
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const options = ref({
modules: {
// 工具栏
toolbar: [
['undo', 'redo', 'clean', 'format-painter'],
['bold', 'italic', 'underline', 'strike'],
[{ list: 'bullet' }, { list: 'ordered' }],
[{ align: '' }, { align: 'center' }, { align: 'right' }],
Expand Down
1 change: 1 addition & 0 deletions examples/sites/demos/pc/app/fluent-editor/options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default {
modules: {
// 工具栏
toolbar: [
['undo', 'redo', 'clean', 'format-painter'],
['bold', 'italic', 'underline', 'strike'],
[{ list: 'bullet' }, { list: 'ordered' }],
[{ align: '' }, { align: 'center' }, { align: 'right' }],
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/fluent-editor/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
margin-right: 8px;

svg {
width: 16px;
font-size: 16px;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/fluent-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"//postversion": "pnpm build"
},
"dependencies": {
"@opentiny/fluent-editor": "~3.18.0",
"@opentiny/fluent-editor": "~3.19.0",
"@opentiny/vue-common": "workspace:~",
"@opentiny/vue-icon": "workspace:~",
"@opentiny/vue-image-viewer": "workspace:~",
Expand Down

0 comments on commit 577d509

Please sign in to comment.