X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/68df43e5a84c0b8a54aed1a50eb9ec48d9792540..c8cfec96dc11a3adaed7f7c3545ca35faa5deab3:/resources/js/wysiwyg/utils/tables.ts diff --git a/resources/js/wysiwyg/utils/tables.ts b/resources/js/wysiwyg/utils/tables.ts index 8f4a6599f..15cc3cbbe 100644 --- a/resources/js/wysiwyg/utils/tables.ts +++ b/resources/js/wysiwyg/utils/tables.ts @@ -282,6 +282,7 @@ export function $clearTableFormatting(table: TableNode): void { const cells = row.getChildren().filter(c => $isTableCellNode(c)); for (const cell of cells) { cell.setStyles(new Map); + cell.setBackgroundColor(null); cell.clearWidth(); } }