Skip to content

Latest commit

 

History

History
86 lines (50 loc) · 1.95 KB

JshCmsPageConfigDefinition.md

File metadata and controls

86 lines (50 loc) · 1.95 KB

jsharmony-cms-sdk-react / JshCmsPageConfigDefinition

Interface: JshCmsPageConfigDefinition

Table of contents

Properties

Properties

content

Optional content: Object

SYSTEM - Hard-coded content element content.

Index signature

▪ [content_area_name: string]: string


content_elements

Optional content_elements: Object

Each editable content area has one entry in content_elements. If no content areas are defined, a default content area named "body" will be added.

Index signature

▪ [content_area_name: string]: { editor_toolbar?: { dock?: "auto" | "bottom" | "top_offset" | "top" ; show_menu?: boolean ; show_toolbar?: boolean } ; title?: string ; type?: "htmleditor" | "text" }


default_content

Optional default_content: Object

Default value for each content area. If omitted, the HTML content will be used.

Index signature

▪ [content_area_name: string]: string


options

Optional options: Object

Type declaration

Name Type Description
dock? "bottom" | "top_offset" | "top" Page toolbar dock position. Defaults to 'top_offset'.
title_element_required? boolean If set to false, no cms-title element required on the page. Defaults to true.

properties

Optional properties: Object

Page Properties fields

Type declaration

Name Type
fields unknown[]

title

Optional title: string