Skip to main content

Module: @lexical/react/LexicalTabIndentationPlugin

Functions

TabIndentationPlugin

TabIndentationPlugin(): null

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 acessibility for keyboard users, causing focus to become trapped within the editor.

Returns

null

Defined in

packages/lexical-react/src/LexicalTabIndentationPlugin.tsx:86


registerTabIndentation

registerTabIndentation(editor): () => void

Parameters

NameType
editorLexicalEditor

Returns

fn

▸ (): void

Returns

void

Defined in

packages/lexical-react/src/LexicalTabIndentationPlugin.tsx:60