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

redactor not being destroyed properly #37

Merged
merged 1 commit into from
Jun 12, 2015

Conversation

frenkelor
Copy link
Contributor

$timeout(function() {
editor = $_element.redactor(options);
ngModel.$render();
element.on('remove',function(){
element.off('remove');
element.redactor('core.destroy');
});
});

My fix is to add a remove listener and before it's removed calling the destroy function.
This will remove all tooltips from the body and release the redactor properly.
@frenkelor frenkelor changed the title redactor not bing destroyed properly redactor not being destroyed properly Feb 5, 2015
@JeromeLam
Copy link

👍

TylerGarlick pushed a commit that referenced this pull request Jun 12, 2015
redactor not being destroyed properly
@TylerGarlick TylerGarlick merged commit b54a79d into TylerGarlick:master Jun 12, 2015
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

Successfully merging this pull request may close these issues.

3 participants