Skip to content

Commit

Permalink
fix: system shortcut teminate ime input (#1535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jocs committed Mar 9, 2024
1 parent eea95ac commit 91397c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/docs/src/controllers/ime-input.controller.ts
Expand Up @@ -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;
});
}

Expand Down

0 comments on commit 91397c6

Please sign in to comment.