question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add support for languages with composition input

See original GitHub issue

Right now none of the composition events are handled, so non-latin languages that require this won’t work correctly.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ianstormtaylorcommented, Jul 19, 2016

Hey @hansanghoon I’ve just added the most basic composition support in 0.2.2, could you test it out again and see if that works for you? Thanks!

0reactions
ianstormtaylorcommented, Jul 21, 2016

@hansanghoon thanks again for helping me track this down. I agree we need more test cases for Slate. Workings on a few more today for transforms and other non-browser pieces, but the browser ones can be really hard. Do you have any tips for testing IME-type interactions?

The update: I’ve pushed 0.5.1 which fixes the “consecutive compositions doing weird things” bug, so that hopefully writing now doesn’t break at all.

The downside is that I haven’t gotten it working as seamless as macOS’s Note app. I’ve looked at Draft.js and they also have this “non-seamless” behavior, so I’m going to call it good enough for now since the writing itself is possible, just the arrow keys “end” instead of “end and move”. I hope that works for you!

If you interested (or anyone else), I’d be down for a pull request that solves the arrow key issues. And if you run into any other troubles just let me know (on Slack or in another issue)!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internationalization Guide - Java - Oracle Help Center
Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text.
Read more >
Element: compositionstart event - Web APIs | MDN
The compositionstart event is fired when a text composition system such as an input method editor starts a new composition session.
Read more >
Composition in Java - GeeksforGeeks
Java doesn't support multiple inheritances but by using composition we can achieve it. Composition offers better test-ability of a class.
Read more >
Functional Programming in Java - Baeldung
In this tutorial, we'll understand the functional programming paradigm's core principles and how to practice them in the Java programming ...
Read more >
OOP Inheritance & Polymorphism - Java Programming Tutorial
With composition (aka aggregation), you define a new class, which is composed of existing classes. With inheritance, you derive a new class based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found