I have a modal where I launch a Summernote, however I want that when leaving the modal the Summernote is destroyed since the following can happen:
And if I remove the content with $ ("# descriptionA"). code (""); it does not remove the text, it is only removed if I reload the page.