Ivan, thanks for your response.

Half of my problem, you solved. The another half is set configuration on
CKEditor dynamically.

Yesterday, i discovered a new problem. In my application, i have a restful
instance configured to send the client token in header, in each request.
CKEditor posts without restangular call (obviously). I googled by a way to
change header before CKEditor post, but i didn't find how.

:(


2014-03-19 6:12 GMT-03:00 Ivan S <[email protected]>:

> If you do POST via ajax and then change item.id, then you have to watch
> for item.id changes in directive and update upload url respectively.
>
> inside your directive:
>
> $scope.$watch('item.id', function(newId, oldId) {
>      // modify CkEditor upload url
> })
>
> The problem is that i don't know CkEditor so i am not sure if there is any
> way to modify CkEditor instance configuration AFTER it has been initialized.
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to