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.

[ios] when input 1st alphabet in chinese keyboard, it will be shown twice

See original GitHub issue

Thanks for this nice rich editor!

The alphabet will show as plain english first, then the alphabet in input method editor.

https://user-images.githubusercontent.com/2976232/108811506-43d1cd80-7562-11eb-8cd3-8bd9b90ab188.mp4

any thought?

code:

        <RichEditor
          ref={richText}
          placeholder="分享你的经历和想法,
          详细的个人经历描述能够更好的帮助到提问者"
          initialContentHTML={post}
          initialFocus={true}
          style={styles.editor}
          // eslint-disable-next-line react-native/no-inline-styles
          editorStyle={{
            backgroundColor: gstyles.COLOR_LIGHT_PURPLE,
            color: gstyles.COLOR_GRIMMY_GREY,
            placeholderColor: gstyles.COLOR_LIGHT_BLUE,
            contentCSSText: 'font-size: 16px',
          }}
          onHeightChange={() => {
            setTimeout(() => scrollView?.current?.scrollToEnd());
          }}
        />

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
Jeyoung-Parkcommented, Mar 2, 2021

try this. path: ./node_modules/react-native-pell-rich-editor/src/editor.js remove this line. formatParagraph(true);

1reaction
fengmingyecommented, Jul 14, 2021

try this. path: ./node_modules/react-native-pell-rich-editor/src/editor.js remove this line. formatParagraph(true);

This solved my issue, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Type Chinese using Shuangpin - Simplified on Mac
Show the keyboard layout: Click the Input menu in the menu bar, then choose Show Keyboard Viewer. Enter Chinese characters using Stroke with...
Read more >
Flashcards Deluxe Forum • View topic - Chinese Input Problem on ...
First of all, I'm using an iPhone 4S, and I found a problem when I type Chinese using your app. Every time I...
Read more >
Mac keyboard typing wrong letters & symbols - Fixed - YouTube
how to fix apple macbook keyboard typing symbols instead of charactersHow to change mac Input source & Keyboard Typehow to change keyboard ......
Read more >
Fix problems with Gboard - Android - Google Support
Tap where you can enter text. At the bottom of your keyboard, touch and hold Globe Globe . Tap Gboard. Add Gboard back...
Read more >
Guide to keyboard layouts and input methods - Duolingo Wiki
Step 1: Choose an input method. Language-specific input methods. Each language has various keyboard ...
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