Skip to content

Commit 41afa1b

Browse files
committed
feat: getting somewhere
1 parent 0166007 commit 41afa1b

File tree

25 files changed

+11415
-4275
lines changed

25 files changed

+11415
-4275
lines changed

packages/core/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap

+918-378
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap

+720-270
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap

+3,060-1,260
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap

+432-162
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap

+1,152-432
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap

+918-378
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap

+2,453-1,015
Large diffs are not rendered by default.

packages/core/src/api/blockManipulation/commands/updateBlock/updateBlock.test.ts

+28-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,34 @@ describe("Test updateBlock", () => {
275275
type: "tableContent",
276276
rows: [
277277
{
278-
cells: ["Cell 1", "Cell 2", "Cell 3"],
278+
cells: [
279+
{
280+
type: "tableCell",
281+
content: ["Cell 1"],
282+
},
283+
{
284+
type: "tableCell",
285+
content: ["Cell 2"],
286+
props: {
287+
backgroundColor: "red",
288+
colspan: 1,
289+
rowspan: 1,
290+
textAlignment: "right",
291+
textColor: "red",
292+
},
293+
},
294+
{
295+
type: "tableCell",
296+
content: ["Cell 3"],
297+
props: {
298+
backgroundColor: "default",
299+
colspan: 1,
300+
rowspan: 1,
301+
textAlignment: "left",
302+
textColor: "default",
303+
},
304+
},
305+
],
279306
},
280307
{
281308
cells: ["Cell 4", "Cell 5", "Cell 6"],

0 commit comments

Comments
 (0)