Skip to content

Commit becceb7

Browse files
authored
fix(richtext-lexical): export serverInlineBlock modules (#14739)
Similar to ServerBlockNode and related modules, which we are already exporting. We forgot to export these. Discord discussion: https://discord.com/channels/967097582721572934/1443201774415777853
1 parent fde824b commit becceb7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/richtext-lexical/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,14 +866,20 @@ export { AlignFeature } from './features/align/server/index.js'
866866
export { BlockquoteFeature } from './features/blockquote/server/index.js'
867867
export { CodeBlock } from './features/blocks/premade/CodeBlock/index.js'
868868
export { BlocksFeature, type BlocksFeatureProps } from './features/blocks/server/index.js'
869-
870869
export {
871870
$createServerBlockNode,
872871
$isServerBlockNode,
873872
type BlockFields,
874873
ServerBlockNode,
875874
} from './features/blocks/server/nodes/BlocksNode.js'
876875

876+
export {
877+
$createServerInlineBlockNode,
878+
$isServerInlineBlockNode,
879+
type InlineBlockFields,
880+
ServerInlineBlockNode,
881+
} from './features/blocks/server/nodes/InlineBlocksNode.js'
882+
877883
export { convertHTMLToLexical } from './features/converters/htmlToLexical/index.js'
878884

879885
export { lexicalHTMLField } from './features/converters/lexicalToHtml/async/field/index.js'

0 commit comments

Comments
 (0)