-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge TabIndentionPlugin and ListMaxIndentLevelPlugin plugins #7013
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
4807469
to
18dedf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that this has at least one consistently failing test
1) [chromium] › packages/lexical-playground/__tests__/e2e/ListMaxIndentLevel.spec.mjs:34:3 › Nested List › Can only indent until the max depth when list is empty
Moved max indent logic into intent plugin, should be easier to use vs explicitly passing max indent with every INDENT_CONTENT command. So it's basically merging MaxListIndent plugin into IndentPlugin with adjustments to handle non-list elements as well |
INDENT_CONTENT_COMMAND
optionalmaxIndent
param that handles both list and block indentTabIndentionPlugin
support formaxIndent
ListMaxIndentLevelPlugin
as redundant