Skip to content

pantoken-root / renderers/tinymce/src / PageLayoutImagePlaceholder

接口: PageLayoutImagePlaceholder ​

由入门页面布局声明的与提供者无关的图像插槽。

属性 ​

key ​

key: string

与 data-pantoken-image-placeholder HTML 标记相匹配的稳定键。


width ​

width: number

建议的内在宽度(像素)。


height ​

height: number

建议的内在高度(像素)。


altText? ​

optional altText?: string

可访问名称;对于装饰性图像可省略。


text? ​

optional text?: string

消费者可选择渲染到其占位符资源中的可选文本。