Skip to content

Commit

Permalink
fix(editor): raw same font size with convert
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 15, 2021
1 parent da217d3 commit b53db5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/editor/entity/EditorEntityShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
]"
class="
w-full
text-xs
text-sm
bg-transparent
dark:text-gray-100
text-black
Expand Down
2 changes: 1 addition & 1 deletion src/store/module/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
6 changes: 3 additions & 3 deletions src/use/raw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ContextStatePageContent } from '@/types/context'

export const bold = () => {
const open = () => {
return '<span class="font-bold text-xs">'
return '<span class="font-bold text-sm">'
}

const close = () => {
Expand All @@ -14,7 +14,7 @@ export const bold = () => {

export const italic = () => {
const open = () => {
return '<span class="italic text-xs">'
return '<span class="italic text-sm">'
}

const close = () => {
Expand All @@ -26,7 +26,7 @@ export const italic = () => {

export const link = () => {
const open = (tag: string) => {
return `<a href="${tag}" target="_blank" class="underline text-xs">`
return `<a href="${tag}" target="_blank" class="underline text-sm">`
}

const close = () => {
Expand Down

0 comments on commit b53db5c

Please sign in to comment.