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

消費者可選擇渲染進其佔位資產的可選文字。