Skip to content

Commit 33719ef

Browse files
authored
๐ŸŽจ style: ๊ธฐ๋ณธ ๊ธ€๊ผด ์„ค์ •์„ 'Noto Sans'๋กœ ์ถ”๊ฐ€ ๋ฐ ์ˆ˜์ •
๐ŸŽจ style: ๊ธฐ๋ณธ ๊ธ€๊ผด ์„ค์ •์„ 'Noto Sans'๋กœ ์ถ”๊ฐ€ ๋ฐ ์ˆ˜์ •
2 parents 888fe47 + 262aacb commit 33719ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

โ€Žsrc/assets/styles/base.scssโ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ section {
2323
}
2424

2525
html {
26-
font-family:
27-
'Pretendard', 'Noto Sans', 'Nanum Myeongjo', 'NanumSonPyeonJiCe', sans-serif;
26+
font-family: 'Pretendard', sans-serif;
2827
font-size: 62.5%;
2928
}
3029

โ€Žsrc/components/Editor/Editor.jsxโ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export default function Editor({ value, onChange, font, onBlur, isError }) {
3737
useEffect(() => {
3838
const editorRoot = quillRef.current?.editor?.root;
3939
if (editorRoot) {
40-
editorRoot.style.fontFamily = fontFamilyMap[font];
40+
editorRoot.style.fontFamily =
41+
fontFamilyMap[font] || '"Noto Sans", sans-serif';
4142
editorRoot.style.fontSize = '18px';
4243
}
4344
}, [font]);

0 commit comments

Comments
ย (0)