Skip to content

Commit e8e5910

Browse files
authored
[lexical-extension] Bug Fix: Set the correct default $canIndent (#8510)
1 parent 1844508 commit e8e5910

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/lexical-extension/src/TabIndentationExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function $indentOverTab(selection: RangeSelection): boolean {
7070
export type CanIndentPredicate = (node: ElementNode) => boolean;
7171

7272
function $defaultCanIndent(node: ElementNode) {
73-
return node.canBeEmpty();
73+
return node.canIndent();
7474
}
7575

7676
export function registerTabIndentation(

0 commit comments

Comments
 (0)