Reference > Admin > Lexical Editor
Lexical Editor
Lexical editor components and hooks
WHAT YOU'LL LEARN
- What is exported from
webiny/admin/lexical? - How to import and use each exported item?
Overview
This page documents everything exported from webiny/admin/lexical. Import any of the items below directly from this path in your Webiny extensions.
Components
LexicalNode
Type — imported from webiny/admin/lexical
Hooks
useCurrentElementuseCurrentSelectionuseDeriveValueFromSelectionuseFontColorPickeruseIsMounteduseRichTextEditoruseTextAlignmentActionuseTypographyAction
useCurrentElement
Function — imported from webiny/admin/lexical
useCurrentSelection
Function — imported from webiny/admin/lexical
useDeriveValueFromSelection
Function — imported from webiny/admin/lexical
useFontColorPicker
Function — imported from webiny/admin/lexical
useIsMounted
Function — imported from webiny/admin/lexical
useRichTextEditor
Function — imported from webiny/admin/lexical
useTextAlignmentAction
Function — imported from webiny/admin/lexical
useTypographyAction
Function — imported from webiny/admin/lexical
Types
Klass
Type — imported from webiny/admin/lexical
Other
getNodeFromSelection
Function — imported from webiny/admin/lexical