Skip to content

pantoken-root / renderers/tinymce/src / PageLayout

接口: PageLayout ​

入门页面布局:由现有组件的简单组合构成,不添加新的 CSS 选择器。

属性 ​

name ​

name: string

稳定 ID,与源文件名匹配(例如 "hero")。


title ​

title: string

在布局选择器中显示的标签。


html ​

html: string

布局的原始 HTML,由 @pantoken/components 类构建。


imagePlaceholders? ​

optional imagePlaceholders?: readonly PageLayoutImagePlaceholder[]

消费者可在无需提供者特定 URL 的情况下实例化的图像插槽。