We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$canIndent
1 parent 1844508 commit e8e5910Copy full SHA for e8e5910
1 file changed
packages/lexical-extension/src/TabIndentationExtension.ts
@@ -70,7 +70,7 @@ function $indentOverTab(selection: RangeSelection): boolean {
70
export type CanIndentPredicate = (node: ElementNode) => boolean;
71
72
function $defaultCanIndent(node: ElementNode) {
73
- return node.canBeEmpty();
+ return node.canIndent();
74
}
75
76
export function registerTabIndentation(
0 commit comments