Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Custom block will unmount when you type Chinese, but not when you type English #2788

@Shenenkaka

Description

@Shenenkaka

Do you want to request a feature or report a bug?

bug

What is the current behavior?

Custom block will unmount when you type Chinese, but not when you type English, Is this normal?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.

reproduce in this fiddle: https://jsfiddle.net/shenenkaka/5oqgbpc4/18/

What is the expected behavior?

Custom block should not unmount when you type language that DraftJs support

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

Draft.js version: 0.11.7
browser: Chrome v87,macOS Big Sur
It is also not work in previous version.

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