feat: FormBlock 컨트롤러 정리 및 15.1 SEO/head 메타 관리 추가
This commit is contained in:
@@ -684,6 +684,12 @@ export interface ProjectConfig {
|
||||
bodyBgColorHex?: string;
|
||||
headHtml?: string;
|
||||
trackingScript?: string;
|
||||
// SEO / 메타 설정 (15.1)
|
||||
seoTitle?: string;
|
||||
seoDescription?: string;
|
||||
seoOgImageUrl?: string;
|
||||
seoCanonicalUrl?: string;
|
||||
seoNoIndex?: boolean;
|
||||
}
|
||||
|
||||
// 공통 블록 모델
|
||||
@@ -803,6 +809,12 @@ const createEditorState = (set: any, get: any): EditorState => ({
|
||||
bodyBgColorHex: "#020617",
|
||||
headHtml: "",
|
||||
trackingScript: "",
|
||||
// SEO 기본값: 필요할 때만 값을 채우고, 없으면 title 등을 사용한다.
|
||||
seoTitle: "",
|
||||
seoDescription: "",
|
||||
seoOgImageUrl: "",
|
||||
seoCanonicalUrl: "",
|
||||
seoNoIndex: false,
|
||||
},
|
||||
|
||||
updateProjectConfig: (partial: Partial<ProjectConfig>) => {
|
||||
|
||||
Reference in New Issue
Block a user