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

Cannot input the first character with Sogou and Simple PinYin IME #849

Closed
ghost opened this issue Aug 6, 2016 · 7 comments
Closed

Cannot input the first character with Sogou and Simple PinYin IME #849

ghost opened this issue Aug 6, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2016

It's similar to #626 but I happen on version 1.00 and Chrome.

Steps for Reproduction

  1. Visit http://beta.quilljs.com/playground/
  2. Switch Sogou Pinyin IME (Chinese input).
  3. Type character.

Platforms: lastest Chrome on OS x and Windows10

Version: v1.00-beta.11/v1.00-beta.2

@jhchen
Copy link
Member

jhchen commented Aug 6, 2016

I'm not encountering any issues on Mac + Chrome. Can you disable all extensions and post a video of what you are experiencing?

chinese

@ghost
Copy link
Author

ghost commented Aug 7, 2016

I disble all extensitons.It works!I found the extension Docs PDF/PowerPoint Viewer,it is point.When I make it able, I can't type first character with Chinese IME.

I have removed this extension.It's not official.I hope this case may give you some notices to resolve conflict of the extensions.

on Window10 + Chrome + specified extension + Sogou IME
issue

I test it on my mac + Chrome.Sogou IME and Simple PinYin IME have the same problem.

on Mac + Chrome + specified extension + Simple PinYin IME
image

issue
(Sogou IME have same problem on mac,but not in video.)

Notice: on version 0.21, It have no problem.

@siteshen
Copy link

As a notice, I've the same problem with extension evernote web clipper. It works if I disable it.

Quill: 1.0.0-beta.11
Chrome: 52.0.2743.116 (latest)
System: OS X 10.11.6

@mrdream24
Copy link

I input first character with Chinese IME in https://quilljs.com/playground/ and https://quilljs.com/. I found that is normal with extension evernote web clipper.why?

@jhchen jhchen changed the title Cannot input the first character with Chinese IME. Cannot input the first character with Sogou and Simple PinYin IME Aug 29, 2016
@jhchen
Copy link
Member

jhchen commented Sep 3, 2016

Installed the latest version of Sougou IME and am not experiencing any issues either.

chinese

I would suggest filing bugs with the troublesome extensions themselves.

@jhchen jhchen closed this as completed Sep 3, 2016
@fire-in-the-hold
Copy link

我發現在輸入全形字(fullwidth),在每一行的第一個字時候會出現問題

輸入第一個字 會跳出後面幾個字
A AB
ㄨ ㄨㄛ

mac os 注音輸入法 (不過我猜任何輸入法都有這個問題

@chesscai
Copy link

Fixed!
Version: 1.3.6

Reason:
Quill gen html include <p><br><br></p> , when Sougou type 2 characters with Pinyin.

Solve:

quill.on('text-change', (delta, oldDelta, source) => {

    let html = quill.container.firstChild.innerHTML;

    if (html.indexOf('<p><br><br></p>') >= 0 && source === 'user') {
      let range = quill.getSelection(); // current cursor
      setTimeout(() => {
        quill.insertText(range.index, ' '); // insert &nbsp;
      }, 0);
    }
}

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

No branches or pull requests

5 participants