Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Added priority to directive
Browse files Browse the repository at this point in the history
Fixes various problems causing the editor not to show up or not to respond to ng-model change

Closes #146
Closes #156
  • Loading branch information
orzilca authored and deeg committed Feb 10, 2016
1 parent a5f8d66 commit da64eb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tinymce.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ angular.module('ui.tinymce', [])

return {
require: ['ngModel', '^?form'],
priority: 999,
link: function(scope, element, attrs, ctrls) {
if (!$window.tinymce) {
return;
Expand Down

0 comments on commit da64eb9

Please sign in to comment.