Skip to content

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

Closed
@yichengq

Description

@yichengq

Thanks for this nice rich editor!

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

1614063776281291.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());
          }}
        />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions