Skip to main content

Interface: RichTextPreformatted

Description

A block of preformatted text within a rich text field.

Extends

Properties

border?

optional border: 0 | 1;

Description

Whether to render a quote-block-like border on the inline side of the list. 0 renders no border while 1 renders a border.

Inherited from

RichTextBorderable.border

Defined in

block-kit/extensions.ts:76


elements

elements: (RichTextLink | RichTextText)[];

Description

An array of either RichTextLink or RichTextText comprising the preformatted text.

Defined in

block-kit/block-elements.ts:947


type

type: "rich_text_preformatted";

Description

The type of element. In this case type is always rich_text_preformatted.

Defined in

block-kit/block-elements.ts:943