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

Editor: IME input problem #9801

Open
minwe opened this Issue Aug 20, 2018 · 11 comments

Comments

Projects
None yet
7 participants
@minwe
Copy link

minwe commented Aug 20, 2018

Issue Summary

non-latin languages input problem in koenig editor

As the screen recording above shown, I want to input 你好 using Chinese Pinyin Input method of Mac OS X on the start of line,I type nihao,then got i好n.

The first typed n is inserted after cursor.

To Reproduce

  1. Switch Input method to non-latin languages, e.g. Chinese Pinyin Input method, Japanese
  2. Type some letter like nihao, expect to get 你好, but get i好n

It is the bug of Mobiledoc-Kit, can reproduce on https://bustle.github.io/mobiledoc-kit/demo/, too.

Technical details:

  • OS: Mac OS X, v10.13.6
  • Node Version: v8.11.1
  • Ghost-CLI Version: 1.9.0
  • Browser/OS: Chrome/67.0.3396.99
  • Database: sqlite3

@kevinansfield kevinansfield changed the title Non-Latin languages input problem in koenig editor Editor: IME input problem Aug 20, 2018

@kevinansfield

This comment has been minimized.

Copy link
Contributor

kevinansfield commented Aug 20, 2018

Hey @minwe 👋 Thanks for the report. Unfortunately this is a known issue, it's being tracked in the upstream mobiledoc-kit repo in bustle/mobiledoc-kit#548 and I believe the underlying problem is similar to this issue bustle/mobiledoc-kit#589.

@minwe

This comment has been minimized.

Copy link

minwe commented Aug 20, 2018

Yes, this is same as bustle/mobiledoc-kit#548.

It maybe caused by composition event (more about omposition event: http://blog.evanyou.me/2014/01/03/composition-event/)

I'll check mobiledoc-kit source code later.

@kevinansfield

This comment has been minimized.

Copy link
Contributor

kevinansfield commented Aug 20, 2018

It would be great if you were able to look. None of the core team use IME input so it's difficult to find and debug these issues.

bustle/mobiledoc-kit#589 is a good read as I believe it's likely the root cause and has more info in it. Unless you are seeing the same buggy behaviour when not typing the first word in a blank paragraph?

@minwe

This comment has been minimized.

Copy link

minwe commented Aug 21, 2018

@kevinansfield It always happens when typing the first word of paragraph, headline, list and other block element.

I'm looking at the issues you mentioned above, but have no idea so far.

@taking

This comment has been minimized.

Copy link

taking commented Aug 21, 2018

Korean has the same problem.

@S8Cloud

This comment has been minimized.

Copy link

S8Cloud commented Aug 22, 2018

It seems using IME in markdown section or title section works fine. Hoping there is a option to disable Koeing Editor before it can work along with IME.

@buchijiang

This comment has been minimized.

Copy link

buchijiang commented Sep 5, 2018

So when can it solved?

@vikaspotluri123

This comment has been minimized.

Copy link
Contributor

vikaspotluri123 commented Sep 5, 2018

@buchijiang whenever the upstream issue (bustle/mobiledoc-kit#548) is solved - there's no explicit timeline publicly available

@buchijiang

This comment has been minimized.

Copy link

buchijiang commented Sep 5, 2018

@vikaspotluri123 OK,i know and thanks for answer

@Windfarer

This comment has been minimized.

Copy link

Windfarer commented Sep 5, 2018

There should be an alternative editor to this issue.

@S8Cloud

This comment has been minimized.

Copy link

S8Cloud commented Sep 5, 2018

Agree with @Windfarer , old Markdown editor works well and for now I have to fall back to Ghost 1.25.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment