Skip to main content
Version: v2

TextAtom Interface

Portion of a string.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

interface TextAtom

Remarks​

Additional kinds of text atoms (also known as embedded objects) which can occur inside a string can implement this. The schema for them can then be provided to createSchema(inputSchemaFactory, formatSchema, extraAtoms, defaultFormatInsertable).

Properties​

PropertyAlertsModifiersTypeDescription
contentAlphareadonlystringThe content of the text atom, viewed as a string.

Property Details​

content​

The content of the text atom, viewed as a string.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

readonly content: string;

Type: string