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(docs): modify link (#3946)

Ran Luofc9439e76350
diff --git a/packages/core/src/docs/data-model/text-x/build-utils/text-x-utils.ts b/packages/core/src/docs/data-model/text-x/build-utils/text-x-utils.ts
index b441d9a0af..d1d6d06db6 100644
--- a/packages/core/src/docs/data-model/text-x/build-utils/text-x-utils.ts
+++ b/packages/core/src/docs/data-model/text-x/build-utils/text-x-utils.ts
@@ -253,7 +253,10 @@ export const replaceSelectionTextX = (params: IReplaceSelectionTextXParams) => {
case 0: {
const action: TextXAction = {
t: TextXActionType.RETAIN,
- body: getBodySlice(insertBody, cursor, cursor + text.length),
+ body: {
+ ...getBodySlice(insertBody, cursor, cursor + text.length, false),
+ dataStream: '',
+ },
len: text.length,
};
cursor += text.length;