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

afterSelectionChange这个写事件,要怎么监听 #19

Open
TanTouJunJun opened this issue Mar 3, 2020 · 1 comment
Open

afterSelectionChange这个写事件,要怎么监听 #19

TanTouJunJun opened this issue Mar 3, 2020 · 1 comment

Comments

@TanTouJunJun
Copy link

@afterSelectionChange="afterSelectionChange"这样监听不到,无法触发事件

@TanTouJunJun
Copy link
Author

已解决。在index.vue里面模仿ready,自己写一个监听事件this.editor.addListener("afterSelectionChange", () => {
this.$emit("afterSelectionChange", this.editor);
})

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

1 participant