Skip to content

Commit

Permalink
Fix OverflowNode pconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx committed May 4, 2024
1 parent 3e117f8 commit 0d91336
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/lexical-overflow/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,15 @@ export class OverflowNode extends ElementNode {
return parent.insertNewAfter(selection, restoreSelection);
}

excludeFromCopy(): boolean {
canBeEmpty(): false {
return false;
}

isInline(): true {
return true;
}

excludeFromCopy(): true {
return true;
}
}
Expand Down

0 comments on commit 0d91336

Please sign in to comment.