From c7a322dc8990cfdba2be17e14cbeca0bc3d3a4ea Mon Sep 17 00:00:00 2001 From: chaoXxxxx <474142438@qq.com> Date: Mon, 19 Sep 2022 15:03:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=88=B7=E4=BD=BF=E7=94=A8=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useTextFormatPainter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}