From acc6f7456a21935a363bbc1173cd1ca93e3cf187 Mon Sep 17 00:00:00 2001 From: jahorton Date: Fri, 31 Jan 2020 15:33:19 +0700 Subject: [PATCH 1/2] fix(web): default BKSP output targeting --- web/source/text/processor.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/source/text/processor.ts b/web/source/text/processor.ts index 23aa1bfc27..5819862947 100644 --- a/web/source/text/processor.ts +++ b/web/source/text/processor.ts @@ -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']: From 05d599b026329c7ede49e4f263bd3b3ceb5c8b34 Mon Sep 17 00:00:00 2001 From: jahorton Date: Mon, 3 Feb 2020 08:08:04 +0700 Subject: [PATCH 2/2] chore(web): history.md --- web/history.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/history.md b/web/history.md index f6aba14697..3444d6c8d2 100644 --- a/web/history.md +++ b/web/history.md @@ -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)