Skip to main content

Type Alias: ParsedBlock<T>

ParsedBlock<T> = object

Defined in: packages/core/src/dom/parseBlockAttributes.ts:38

Represents a parsed block, i.e a block parsed from data-wp-block and data-wp-block-name attributes

Type Parameters

T

T extends IDataWPBlock = IDataWPBlock

Properties

attributes

attributes: T

Defined in: packages/core/src/dom/parseBlockAttributes.ts:42

The Block attributes


className

className: string

Defined in: packages/core/src/dom/parseBlockAttributes.ts:52

The Block class name


name

name: string

Defined in: packages/core/src/dom/parseBlockAttributes.ts:47

The Block name