mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-25 17:17:43 +00:00
fix(android): Move to kmwembedded.ts
This commit is contained in:
parent
5b7666e104
commit
cbc243e30c
2 changed files with 5 additions and 7 deletions
|
|
@ -135,9 +135,11 @@ namespace com.keyman.text {
|
|||
let Codes = com.keyman.text.Codes;
|
||||
let code = Lkc.Lcode;
|
||||
|
||||
// Intentionally not assigning K_TAB or K_ENTER so KMW will pass them back
|
||||
// to the mobile apps to handle (insert characters or navigate forms).
|
||||
if (code == Codes.keyCodes.K_SPACE) {
|
||||
// Intentionally not assigning K_ENTER so KMW will pass them back
|
||||
// to the mobile apps to handle (insert characters).
|
||||
if (code == Codes.keyCodes.K_TAB) {
|
||||
return '\t';
|
||||
} else if (code == Codes.keyCodes.K_SPACE) {
|
||||
return ' ';
|
||||
} else if (code == Codes.keyCodes.K_BKSP) {
|
||||
if(!disableDOM) {
|
||||
|
|
|
|||
|
|
@ -77,10 +77,6 @@ namespace com.keyman.text {
|
|||
}
|
||||
return '';
|
||||
case Codes.keyCodes['K_TAB']:
|
||||
if(keyman.isEmbedded) {
|
||||
// In embedded mode, let the device handle the tab character
|
||||
return '\t';
|
||||
}
|
||||
if(!disableDOM) {
|
||||
domManager.moveToNext(keyShiftState);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue