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

prosemirror-view 1.9.0 version composition modify problem #922

Open
XuXuDev opened this issue May 9, 2019 · 1 comment
Open

prosemirror-view 1.9.0 version composition modify problem #922

XuXuDev opened this issue May 9, 2019 · 1 comment

Comments

@XuXuDev
Copy link

XuXuDev commented May 9, 2019

Issue details

Hello marijn!
I’m a chinese developer, when i use chinese input,1.9.0 will generate a large number of invalid steps in my case:

image

I want input “测试” but i got 6 steps:

image

1-5 steps is useless for me.
In this way, developers will get a lot of invalid steps in the Chinese environment. Causing a lot of unnecessary operations and taking up database space,this is not make sence. what about put composition into config props? Provide a way for transaction not to be generated immediately。

@marijnh
Copy link
Member

marijnh commented May 10, 2019

They are not actually invalid, are they? They represent the steps of the composition, and accurately describe the intermediate input states.

As I said on the forum, where you posted the exact same content, look into step merging.

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

2 participants