Skip to content

Commit

Permalink
chore(richtext-lexical): export $createServerBlockNode, $isServerBloc…
Browse files Browse the repository at this point in the history
…kNode and ServerBlockNode for the server (#10192)

This is useful for working within custom markdown transformers on the
server, using a headless lexical editor
  • Loading branch information
AlessioGr authored Dec 27, 2024
1 parent f3aebe3 commit 1dc4b2c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/richtext-lexical/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,12 @@ export function lexicalEditor(props?: LexicalEditorProps): LexicalRichTextAdapte
export { AlignFeature } from './features/align/server/index.js'
export { BlockquoteFeature } from './features/blockquote/server/index.js'
export { BlocksFeature, type BlocksFeatureProps } from './features/blocks/server/index.js'
export { type BlockFields } from './features/blocks/server/nodes/BlocksNode.js'
export {
$createServerBlockNode,
$isServerBlockNode,
type BlockFields,
ServerBlockNode,
} from './features/blocks/server/nodes/BlocksNode.js'

export { LinebreakHTMLConverter } from './features/converters/html/converter/converters/linebreak.js'
export { ParagraphHTMLConverter } from './features/converters/html/converter/converters/paragraph.js'
Expand Down

0 comments on commit 1dc4b2c

Please sign in to comment.