mirror of
https://github.com/documize/community.git
synced 2025-07-27 00:59:43 +02:00
fix tinymce loading URL
This commit is contained in:
parent
615aca8040
commit
3a085a6bd5
1 changed files with 90 additions and 90 deletions
|
@ -71,13 +71,13 @@ export default Ember.Component.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toolbar1: "formatselect fontselect fontsizeselect | bold italic underline | link unlink | image media | codesample | outdent indent | alignleft aligncenter alignright alignjustify | bullist numlist | forecolor backcolor",
|
toolbar1: "formatselect fontselect fontsizeselect | bold italic underline | link unlink | image media | codesample | outdent indent | alignleft aligncenter alignright alignjustify | bullist numlist | forecolor backcolor",
|
||||||
save_onsavecallback: function() {
|
save_onsavecallback: function () {
|
||||||
self.send('onAction');
|
self.send('onAction');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof tinymce === 'undefined') {
|
if (typeof tinymce === 'undefined') {
|
||||||
$.getScript(this.get("appMeta").getBaseUrl("tinymce/tinymce.min.js?v=430"), function() {
|
$.getScript("tinymce/tinymce.min.js?v=430", function () {
|
||||||
window.tinymce.dom.Event.domLoaded = true;
|
window.tinymce.dom.Event.domLoaded = true;
|
||||||
tinymce.baseURL = "//" + window.location.host + "/tinymce";
|
tinymce.baseURL = "//" + window.location.host + "/tinymce";
|
||||||
tinymce.suffix = ".min";
|
tinymce.suffix = ".min";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue