Skip to main content

Included Extensions

@lexical/a11y

Framework-agnostic accessibility extensions. See Keyboard Accessibility for the full contract and the matching @lexical/react adapters.

  • AriaLiveRegionExtension - Owns a visually hidden aria-live region and exposes a stable announce sink (WAI-ARIA status messages, WCAG 4.1.3)
  • EditorModeAnnounceExtension - Announces editable / read-only transitions through the live region
  • FocusManagerExtension - Editor ↔ toolbar focus jump (Alt+F10 to the toolbar, Escape back to the editor), reference-counted per toolbar
  • FocusTrapExtension - Traps Tab / Shift+Tab focus inside one or more containers (modal dialogs), reference-counted per container
  • HistoryAnnounceExtension - Announces undo / redo through the live region
  • RovingTabIndexExtension - WAI-ARIA roving-tabindex pattern for toolbars / groups, reference-counted per container

@lexical/clipboard

@lexical/code

@lexical/code-prism

@lexical/code-shiki

@lexical/dragon

  • DragonExtension - Dragon (speech to text) support, included by default with RichTextExtension and PlainTextExtension

@lexical/extension

@lexical/hashtag

@lexical/history

@lexical/html

  • CoreImportExtension - DOM import rules for the core nodes, included implicitly by node-providing extensions (experimental)
  • DOMImportExtension - Extension-based replacement for importDOM/DOMConversion, rules are compiled into a dispatcher at editor build time (experimental)
  • DOMRenderExtension - Overrides the DOM render and export behavior for an editor (experimental)

@lexical/link

@lexical/list

@lexical/mark

@lexical/overflow

@lexical/plain-text

  • PlainTextExtension - Plain text editor, the return key creates a LineBreakNode by default (one ParagraphNode per document)

@lexical/react

@lexical/rich-text

  • RichTextExtension - Rich Text editor (QuoteNode, HeadingNode), the return key creates a ParagraphNode by default (multiple ParagraphNode per document). Includes configurable escapeFormatTriggers to escape text formatting (e.g. code) at text node boundaries

@lexical/table

@lexical/tailwind