Skip to main content

@lexical/react/LexicalTabIndentationPlugin

Functions

registerTabIndentation()

registerTabIndentation(editor, maxIndent?): () => void

Defined in: packages/lexical-react/src/LexicalTabIndentationPlugin.tsx:65

Parameters

editor

LexicalEditor

maxIndent?

number

Returns

(): void

Returns

void


TabIndentationPlugin()

TabIndentationPlugin(__namedParameters): null

Defined in: packages/lexical-react/src/LexicalTabIndentationPlugin.tsx:118

This plugin adds the ability to indent content using the tab key. Generally, we don't recommend using this plugin as it could negatively affect accessibility for keyboard users, causing focus to become trapped within the editor.

Parameters

__namedParameters
maxIndent?

number

Returns

null