IPublisherTextWidgetV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
export interface IPublisherTextWidgetV2 extends IPublisherWidgetBaseV2
Extends: IPublisherWidgetBaseV2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (ALPHA) (Optional) Page furniture such as page numbers: kept out of the accessibility tree, PDF tags and AI context. | ||
string | (ALPHA) (Optional) Full markdown: paragraphs, lists, quotes and headings. | ||
(ALPHA) (Optional) | |||
“text” | (ALPHA) |
Property details
IPublisherTextWidgetV2.decorativepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Page furniture such as page numbers: kept out of the accessibility tree, PDF tags and AI context.
decorative?: boolean;
IPublisherTextWidgetV2.markdownpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Full markdown: paragraphs, lists, quotes and headings.
markdown?: string;
IPublisherTextWidgetV2.stylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
textStyle defaults to normalText.
style?: IPublisherTextWidgetStyleV2;
IPublisherTextWidgetV2.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
type: "text";