-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to enter combination symbols on input #40
Comments
@icc Yup. If I remember correctly, that was necessary to make it work properly on Android or iOS. But I'll check. |
Aha, I see. Maybe I'll try to look into it later then |
@icc Is it urgent? I'd have a look this weekend. Might spare you to look at the partially ugly code that grew and grew due to constantly changing requests (and no time/budget for refactoring). |
@icc Hmm, maybe we should both have a look. I don't have a |
@otacke Not that urgent. If you change to Norweigan Bokmål for KB language you can get |
@icc Okay, this is a weird one. I'm at https://h5p.org/content-types/crossword (Linux, latest Chrome), changed the keyboard to Bokmål, and I can get a I also glanced at the code (for a grid cell). I definitely had to work around some issues on Android and older browsers, but I don't see a comment why I didn't go for the |
@icc I have quickly changed the behavior to use the |
@icc Oh, I should have mentioned https://github.com/otacke/h5p-crossword/tree/inputevent-for-grid |
@icc I think I know what the issue is and why it works for me but not for you. Crossword is assuming that each character represents one unicode code point. The Even if the change to I'd love to fix this, because it would also affect languages that rely on composite characters, but unfortunately, I currently don't have the time to investigate what's necessary to deal with those properly and to check what parts of the code need to be updated (given that the issue is composite characters) :-/ |
Hi, I have created a crossword game in Chinese Language, and I face the similar problem. However, I am able to key in the answer with my Samsung handphone. But I am not able to key in any Chinese Character with laptop and iPhone. I will paste the link of the game as well as the answers here. https://story2021.h5p.com/content/1291639853518537889 2 警察队长 Sorry I don't really know anything about code, I don't understand why I can key in with my Samsung phone but not my laptop too , but I really like this game, hope the problem can be solved :) |
@Hweyping It's working on your Samsung phone but not on other platforms because different devices use different ways of "sending" a symbols that consist of multiple "subsymbols" to the application that's running in the browser. This content type was contract work that I created as a contractor for a company and they did not require support for non-latin based languages (or languages that require multiple keystrokes for one symbol). Their requirements were met. I can only implement more features if my time allows, and currently it does not. |
@otacke Thanks for your promptly reply ,I see, it's ok, hope this problem can be solved one day . Thanks a lot :) |
When trying to solve a puzzle, if a word contains the letter
ä
it's not possible input this value via keyboard.On the keyboard you have to first hit
¨
and thena
and they are combined intoä
. I suspect the input maybe listens for key events and not input events?The text was updated successfully, but these errors were encountered: