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
[Bug report]每一次调用setMarkdown或者setValue,光标都被重置到最前面了,对于封装成v-model形式的vue组件非常不友好 #70
Comments
有道理,我们给setMarkdown和setValue增加第二个参数吧,autoRestoreCursor = true 会尝试保持之前的光标位置。 |
vue组件多次创建Cherry实例怎么办? |
我新建了一个issue #140 来跟进没有destory的问题哈 |
@sunsonliu 如何destroy啊?有办法吗 |
还没实现这个api,如果急用,可以先 |
@sunsonliu 还没实现这个api,如果急用,可以先 cherry.wrapperDom.remove();。。。 这个确实有用,我是在nuxt下使用的,希望有个destroy方法 |
Describe the bug
每一次调用setMarkdown或者setValue,光标都被重置到最前面了,对于封装成v-model形式的vue组件非常不友好
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: