Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix: wrong cell value in cell data (#1461)

Ran Luo0cda9753b3d2
diff --git a/examples/src/data/sheets/demo/default-workbook-data-demo.ts b/examples/src/data/sheets/demo/default-workbook-data-demo.ts
index 987d779cd6..bce1e8d2be 100644
--- a/examples/src/data/sheets/demo/default-workbook-data-demo.ts
+++ b/examples/src/data/sheets/demo/default-workbook-data-demo.ts
@@ -73,15 +73,20 @@ const richTextDemo1: IDocumentData = {
},
{
st: 3,
- ed: 9,
+ ed: 10,
ts: {
cl: {
- rgb: 'rgb(255,0,0)',
+ rgb: 'rgb(255, 0, 0)',
},
fs: 20,
},
},
],
+ paragraphs: [
+ {
+ startIndex: 10,
+ },
+ ],
},
documentStyle: {
pageSize: {
diff --git a/examples/src/data/sheets/demo/default-workbook-data-demo4.ts b/examples/src/data/sheets/demo/default-workbook-data-demo4.ts
index 377d57bd8a..2ea87914b0 100644
--- a/examples/src/data/sheets/demo/default-workbook-data-demo4.ts
+++ b/examples/src/data/sheets/demo/default-workbook-data-demo4.ts
@@ -34,7 +34,7 @@ const richTextDemo1: IDocumentData = {
},
{
st: 3,
- ed: 9,
+ ed: 10,
ts: {
cl: {
rgb: 'rgb(255,0,0)',
@@ -43,6 +43,11 @@ const richTextDemo1: IDocumentData = {
},
},
],
+ paragraphs: [
+ {
+ startIndex: 10,
+ },
+ ],
},
documentStyle: {
pageSize: {