publisherDocumentContentSectionsV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Returns the sections of document content. Content stored as pages becomes one untitled section with a generated id.
export declare function publisherDocumentContentSectionsV2(content: PublisherDocumentContentV2): IPublisherSectionV2[];
Parameters
Parameter | Type | Description |
|---|---|---|
content |
Returns
Remarks
For content stored as pages, each call returns a new section id. Read once and keep the result for as long as the section must stay the same one.