Skip to content

Commit

Permalink
Merge pull request #3395 from tomdyqin/feature/add-getSiblingIndentLi…
Browse files Browse the repository at this point in the history
…stOptions

fix(indent-list): fix nextNodeEntry not input getSiblingIndentListOpt…
  • Loading branch information
zbeyens authored Jul 31, 2024
2 parents e01298b + 318a933 commit 887473f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-shoes-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-indent-list": patch
---

fix: missing `getSiblingIndentListOptions`
2 changes: 2 additions & 0 deletions packages/indent-list/src/withIndentList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ export const withIndentList = <
breakOnEqIndentNeqListStyleType: false,
breakOnLowerIndent: false,
eqIndent: false,
...getSiblingIndentListOptions,
}
);

Expand All @@ -356,6 +357,7 @@ export const withIndentList = <
breakOnEqIndentNeqListStyleType: false,
breakOnLowerIndent: false,
eqIndent: false,
...getSiblingIndentListOptions,
});

if (nextNodeEntry) {
Expand Down

0 comments on commit 887473f

Please sign in to comment.