diff --git a/src/hooks/useTextFormatPainter.ts b/src/hooks/useTextFormatPainter.ts index 48b6d5d8..641f1102 100644 --- a/src/hooks/useTextFormatPainter.ts +++ b/src/hooks/useTextFormatPainter.ts @@ -15,7 +15,7 @@ export default () => { strikethrough: richTextAttrs.value.strikethrough, color: richTextAttrs.value.color, backcolor: richTextAttrs.value.backcolor, - fontname: richTextAttrs.value.fontsize, + fontname: richTextAttrs.value.fontname, fontsize: richTextAttrs.value.fontsize, align: richTextAttrs.value.align, }) @@ -25,4 +25,4 @@ export default () => { return { toggleFormatPainter, } -} \ No newline at end of file +}