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: system shortcut teminate ime input (#1535)

Ran Luo91397c6eb244
diff --git a/packages/docs/src/controllers/ime-input.controller.ts b/packages/docs/src/controllers/ime-input.controller.ts
index 3ae732a5ac..43a8d1dfed 100644
--- a/packages/docs/src/controllers/ime-input.controller.ts
+++ b/packages/docs/src/controllers/ime-input.controller.ts
@@ -76,17 +76,15 @@ export class IMEInputController extends Disposable {
return;
}
+ this._resetIME();
+
const { activeRange } = config;
if (activeRange == null) {
return;
}
- this._imeInputManagerService.clearUndoRedoMutationParamsCache();
-
this._imeInputManagerService.setActiveRange(Tools.deepClone(activeRange));
-
- this._isCompositionStart = true;
});
}