Skip to content

Commit 63a4dcf

Browse files
Remove unneeded changes
1 parent b0d8ae5 commit 63a4dcf

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

packages/roosterjs-content-model-dom/lib/domToModel/processors/tableProcessor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { parseFormat } from '../utils/parseFormat';
99
import { parseValueWithUnit } from '../../formatHandlers/utils/parseValueWithUnit';
1010
import { stackFormat } from '../utils/stackFormat';
1111
import type {
12-
ContentModelTable,
1312
ContentModelTableCellFormat,
1413
DatasetFormat,
1514
DomToModelContext,

packages/roosterjs-content-model-dom/lib/modelApi/creators/createTableCell.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export function createTableCell(
2222
typeof spanLeftOrColSpan === 'number' ? spanLeftOrColSpan > 1 : !!spanLeftOrColSpan;
2323
const spanAbove =
2424
typeof spanAboveOrRowSpan === 'number' ? spanAboveOrRowSpan > 1 : !!spanAboveOrRowSpan;
25-
2625
return {
2726
blockGroupType: 'TableCell',
2827
blocks: [],

packages/roosterjs-content-model-dom/test/domToModel/processors/tableProcessorTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ describe('tableProcessor', () => {
218218
const tableHTML =
219219
'<table class="tb1"><tr id="tr1"><td colspan="2" id="td1"><span>test</span></td></tr></table>';
220220
const tdModel1 = createTableCell(1, 1, false);
221-
const tdModel2 = createTableCell(2, 1, false); // spanLeft: true for merged cell
221+
const tdModel2 = createTableCell(2, 1, false);
222222

223223
runTest(tableHTML, div => {
224224
return {

0 commit comments

Comments
 (0)