Skip to content

Commit 8ab05b0

Browse files
authored
fix(richtext-lexical): setting hideInsertParagraphAtEnd to true did not hide insert paragraph button (#10581)
1 parent 085c1d0 commit 8ab05b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/richtext-lexical/src/field/rscEntry.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export const RscEntryLexicalField: React.FC<
8181
if (args.admin?.hideGutter) {
8282
admin.hideGutter = true
8383
}
84+
if (args.admin?.hideInsertParagraphAtEnd) {
85+
admin.hideInsertParagraphAtEnd = true
86+
}
8487

8588
const props: LexicalRichTextFieldProps = {
8689
clientFeatures,

0 commit comments

Comments
 (0)