From b53db5ccd6924e375e8dc47a05f72414dbd2fa72 Mon Sep 17 00:00:00 2001 From: Novout Date: Fri, 15 Oct 2021 16:14:40 -0300 Subject: [PATCH] fix(editor): raw same font size with convert --- src/components/editor/entity/EditorEntityShow.vue | 2 +- src/store/module/editor.ts | 2 +- src/use/raw.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/editor/entity/EditorEntityShow.vue b/src/components/editor/entity/EditorEntityShow.vue index b26039cd7..297dbae5e 100644 --- a/src/components/editor/entity/EditorEntityShow.vue +++ b/src/components/editor/entity/EditorEntityShow.vue @@ -107,7 +107,7 @@ ]" class=" w-full - text-xs + text-sm bg-transparent dark:text-gray-100 text-black diff --git a/src/store/module/editor.ts b/src/store/module/editor.ts index 738810973..004db1e1c 100644 --- a/src/store/module/editor.ts +++ b/src/store/module/editor.ts @@ -7,7 +7,7 @@ export default { styles: { input: { fontFamily: 'font-raleway', - fontSize: 'text-xs', + fontSize: 'text-sm', fontColor: 'text-black dark:text-gray-100', }, show: { diff --git a/src/use/raw.ts b/src/use/raw.ts index e409661b4..77887d2a2 100644 --- a/src/use/raw.ts +++ b/src/use/raw.ts @@ -2,7 +2,7 @@ import { ContextStatePageContent } from '@/types/context' export const bold = () => { const open = () => { - return '' + return '' } const close = () => { @@ -14,7 +14,7 @@ export const bold = () => { export const italic = () => { const open = () => { - return '' + return '' } const close = () => { @@ -26,7 +26,7 @@ export const italic = () => { export const link = () => { const open = (tag: string) => { - return `` + return `` } const close = () => {