Skip to content
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

Desktop: Handle compositionend event in TinyMCE #3164

Merged
merged 1 commit into from
May 7, 2020

Conversation

sinkuu
Copy link
Contributor

@sinkuu sinkuu commented May 4, 2020

I noticed that texts are not properly saved when using IME (input method editor) on TinyMCE. Calling onChangeHandler on compositionend event fixes the problem.

Peek 2020-05-04 20-13

(Steps to reproduce: 1. Input some text using IME. 2. Switch to another note. 3. Switch to the original note, and you see that the text was not saved)

Copy link
Owner

@laurent22 laurent22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great, thank you for fixing this.

ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx Outdated Show resolved Hide resolved
@laurent22
Copy link
Owner

Thanks!

@laurent22 laurent22 merged commit 80112e7 into laurent22:master May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants