We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_Bug if enable catch remote image:_
When enable catch remote image by set config item
catchRemoteImageEnable = true
Paste image into editor.
After request of http://server.com/path/to/controller?action=catchimage... completed,
http://server.com/path/to/controller?action=catchimage...
the html, or let's say img src, in the editor body wil be updated (you can check by inspect element),
src
but when you debug or submit your ng-model, the img src in the content hasn't been updated.
ng-model
_An easy fix for now:_
Catch event catchremotesuccess by addListener("catchremotesuccess",...).
catchremotesuccess
addListener("catchremotesuccess",...)
Code:
_self.editor.addListener("contentChange", function() { ctrl.$setViewValue(_self.editor.getContent()); if (!_updateByRender) { if (!$S.$$phase) { $S.$apply(); } } _updateByRender = false; }); // add code here // catch catchremotesuccess event and react the same as event contentChange _self.editor.addListener("catchremotesuccess", function() { ctrl.$setViewValue(_self.editor.getContent()); if (!_updateByRender) { if (!$S.$$phase) { $S.$apply(); } } _updateByRender = false; });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
_Bug if enable catch remote image:_
When enable catch remote image by set config item
Paste image into editor.
After request of
http://server.com/path/to/controller?action=catchimage...
completed,the html, or let's say img
src
, in the editor body wil be updated (you can check by inspect element),but when you debug or submit your
ng-model
, the imgsrc
in the content hasn't been updated._An easy fix for now:_
Catch event
catchremotesuccess
byaddListener("catchremotesuccess",...)
.Code:
The text was updated successfully, but these errors were encountered: