decorate not work well with ime input method
See original GitHub issueDo you want to request a feature or report a bug?
bug
What’s the current behavior?
The problem which I found in 4x version still exist in 50 version. This time I drived into source code to find the reason.
The main reason is when I input the cursor locate at some decoration
for example *123*
, after I finish IME input, first of all the text will be placed in the span
where *123*
in. Then slate update the text tree, rerender, but based on text tree in slate, this decoration
won’t need to be update, because it’s range never change. In slate the text is “123这”, after decorate, *123*
is still there. So it never rerender, but in the real dom, “这” has been added.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Input Method Editors (IME) - Windows apps | Microsoft Learn
An Input Method Editor (IME) is a software component that enables a user to input text in a language that can't be represented...
Read more >IME handling guide — Firefox Source Docs documentation
IME state management. IME is a text input system. It means that except when a user wants to input some text, IME shouldn't...
Read more >Create an input method - Android Developers
Designing an IME UI; Sending text from an IME to an application; Working with IME subtypes. If you haven't worked with IMEs before,...
Read more >IME is not working properly when line wrapping in Safari - v6
To reproduce, create a vanilla editor, and add EditorView.lineWrapping as the extension. Then enable an input method.
Read more >Google IME or Redhat Japanese IME candidate window not ...
The issue is Google IME is outside of Java Swing control. The only communication between them is through the Input Method Framework (docs.oracle ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem in current version, report here.
Environment
Safari seems to be working fine.
same problem (code highlighting example):
@ianstormtaylor @Jokcy