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

再次赋值至content时无法更新到编辑器 #27

Closed
lpreterite opened this issue Apr 2, 2021 · 1 comment
Closed

再次赋值至content时无法更新到编辑器 #27

lpreterite opened this issue Apr 2, 2021 · 1 comment
Labels

Comments

@lpreterite
Copy link
Owner

image

这位网友提供出的问题。

复现情况

版本1.1.0,地址:https://codepen.io/packy1980/pen/oNBZMjW

@lpreterite lpreterite added the bug label Apr 2, 2021
@lpreterite
Copy link
Owner Author

问题在于setContent事件中设置为输入(INPUT)状态导致的,这部分是新增的逻辑只影响1.1.0版本,旧版本没有此问题。将会安排在1.1.1版本修复此问题。

lpreterite added a commit that referenced this issue Apr 29, 2021
更改 #27 问题的后遗症,响应事件前记录下光标,从prop回来重新设置内容后,重设光标解决。 

fix #33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant