mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-15 02:17:32 +00:00
Merge pull request #2561 from keymanapp/fix/web/design-iframe-bksp
fix(web): default BKSP output targeting
This commit is contained in:
commit
e499c8a828
2 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# KeymanWeb Version History
|
||||
|
||||
## 2020-02-03 13.0.33 beta
|
||||
* Bug fix: BKSP not working corrrectly with design-mode iframes (#2561)
|
||||
|
||||
## 2020-01-30 13.0.32 beta
|
||||
* Bug fix: Predictive-text tweaks for RTL language lexical models (#2553, #2554)
|
||||
* Bug fix: Fixed external keyboard key "tab" for embedded devices (#2546)
|
||||
|
|
|
|||
|
|
@ -73,7 +73,13 @@ namespace com.keyman.text {
|
|||
if(disableDOM) {
|
||||
return '\b'; // the escape sequence for backspace.
|
||||
} else {
|
||||
keyman.interface.defaultBackspace();
|
||||
// If we have an available target (via Lkc/Lelem), use that instead of
|
||||
// forcing defaultBackspace to search for it.
|
||||
var target: OutputTarget;
|
||||
if(Lelem && Lelem._kmwAttachment) {
|
||||
target = Lelem._kmwAttachment.interface;
|
||||
}
|
||||
keyman.interface.defaultBackspace(target);
|
||||
}
|
||||
return '';
|
||||
case Codes.keyCodes['K_TAB']:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue