Fix OverflowNode configuration (#6027)

Co-authored-by: Bob Ippolito <bob@redivi.com>
This commit is contained in:
Gerard Rovira
2024-08-15 03:17:03 +01:00
committed by GitHub
parent 21e50adcc7
commit cb0b7312a4

View File

@ -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;
}
}