Skip to main content

extension-text

package @remirror/extension-text

class TextExtension

The default text passed into the prosemirror schema.

Extra attributes are not allowed on the text extension.

Signature:

export declare class TextExtension extends NodeExtension 

Extends: NodeExtension

(Some inherited members may not be shown because they are not represented in the documentation.)

property name

Signature:

get name(): "text";

method createNodeSpec

Signature:

createNodeSpec(): NodeExtensionSpec;

Returns:

NodeExtensionSpec

method createTags

Signature:

createTags(): "inline"[];

Returns:

"inline"[]