260810_02_ENH: wysiwyg 에디터 툴바에 폰트 패밀리 추가
This commit is contained in:
17
registry/components/kri-editor/utils/fontFamilyOptions.ts
Normal file
17
registry/components/kri-editor/utils/fontFamilyOptions.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { KriEditorFontFamilyOption } from "../types";
|
||||
|
||||
/**
|
||||
* OS/이메일 클라이언트에 기본 설치돼 있어 별도 @font-face 로딩 없이 바로 렌더링되는 웹 세이프 폰트 목록.
|
||||
* "기본값"은 fontFamily 속성을 제거(unset)해 상위 스타일을 상속한다.
|
||||
*/
|
||||
export const DEFAULT_FONT_FAMILY_OPTIONS: KriEditorFontFamilyOption[] = [
|
||||
{ label: "기본값", value: "" },
|
||||
{ label: "맑은 고딕", value: "'Malgun Gothic', sans-serif" },
|
||||
{ label: "Apple SD 고딕", value: "'Apple SD Gothic Neo', sans-serif" },
|
||||
{ label: "Arial", value: "Arial, Helvetica, sans-serif" },
|
||||
{ label: "Georgia", value: "Georgia, 'Times New Roman', serif" },
|
||||
{ label: "Times New Roman", value: "'Times New Roman', Times, serif" },
|
||||
{ label: "Courier New", value: "'Courier New', Courier, monospace" },
|
||||
{ label: "Verdana", value: "Verdana, Geneva, sans-serif" },
|
||||
{ label: "Tahoma", value: "Tahoma, Geneva, sans-serif" },
|
||||
];
|
||||
Reference in New Issue
Block a user