Options
All
  • Public
  • Public/Protected
  • All
Menu

Content Model of Paragraph (Readonly)

Hierarchy

Index

Properties

Readonly blockType

blockType: "Paragraph"

Type of this block

Optional cachedElement

cachedElement: HTMLElement

Cached element for reuse

Optional Readonly decorator

Decorator info for this paragraph, used by heading and P tags

Optional Readonly dummy1

dummy1: readonly never[]

The mutable marker to mark an object as mutable. When assign readonly object to a mutable type, compile will fail to build due to this member does not exist from source type. This is used for preventing assigning ReadonlyMark to ShallowMutableMark or MutableMark

Optional Readonly dummy2

dummy2: readonly never[]

The mutable marker to mark an object as mutable. When assign readonly object to a mutable type, compile will fail to build due to this member does not exist from source type.

Readonly format

format: Readonly<ContentModelBlockFormat>

Format of this model

Optional Readonly isImplicit

isImplicit: boolean

Whether this block was created from a block HTML element or just some simple segment between other block elements. True means it doesn't have a related block element, false means it was from a block element

Optional Readonly segmentFormat

segmentFormat: Readonly<ContentModelSegmentFormat>

Segment format on this paragraph. This is mostly used for default format

Readonly segments

segments: readonly ReadonlyContentModelSegment[]

Segments within this paragraph

Generated using TypeDoc