angular-ui-tinymce
Advanced tools
Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "angular-ui-tinymce", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"descriptin": "This directive allows you to add a tinymce to your form elements.", | ||
@@ -5,0 +5,0 @@ "author": "https://github.com/angular-ui/ui-tinymce/graphs/contributors", |
@@ -6,2 +6,6 @@ # UI Tinymce - [AngularJS](http://angularjs.org/) directive for [TinyMCE](http://tinymce.com). | ||
# Call for Maintainer | ||
This library is looking for a maintainer. If you feel up to the task please open an issue indicating so. | ||
# Requirements | ||
@@ -8,0 +12,0 @@ |
@@ -182,3 +182,3 @@ /** | ||
// selectors in order to render new instances properly | ||
scope.$on('$tinymce:refresh', function(e, id) { | ||
var unbindEventListener = scope.$on('$tinymce:refresh', function(e, id) { | ||
var eid = attrs.id; | ||
@@ -193,2 +193,3 @@ if (angular.isUndefined(id) || id === eid) { | ||
parentElement.append($compile(clonedElement)(scope)); | ||
unbindEventListener(); | ||
} | ||
@@ -195,0 +196,0 @@ }); |
30588
456
151