Skip to content

How do I dispose a custom module? #4443

Answered by jankapunkt
jankapunkt asked this question in Q&A
Discussion options

You must be logged in to vote

Okay I found the solution using getModule, which I call before my components unmount:

const lineNumber = quillInstance.getModule('lineNumber')
lineNumber.dispose()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jankapunkt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant