Skip to content

Commit 2f07545

Browse files
committed
[lexical-table] fix: table cell background copy paste not working
1 parent cbdc456 commit 2f07545

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/lexical-table/src/LexicalTableSelectionHelpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ export function applyTableHandlers(
915915

916916
const {cell} = interimGridMap[row][col];
917917
const originalChildren = cell.getChildren();
918+
cell.setBackgroundColor(templateCell.getBackgroundColor());
918919
templateCell.getChildren().forEach((child) => {
919920
if ($isTextNode(child)) {
920921
const paragraphNode = $createParagraphNode();

0 commit comments

Comments
 (0)