mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-22 08:08:52 +00:00
first commit
This commit is contained in:
commit
c715e2a604
5325 files changed
+329700
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
CKEDITOR.plugins.add('imagebrowser', {
|
||||
"init": function (editor) {
|
||||
if (typeof(editor.config.imageBrowser_listUrl) === 'undefined' || editor.config.imageBrowser_listUrl === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
var url = editor.plugins.imagebrowser.path + "browser/browser.html?listUrl=" + encodeURIComponent(editor.config.imageBrowser_listUrl);
|
||||
if (editor.config.baseHref) {
|
||||
url += "&baseHref=" + encodeURIComponent(editor.config.baseHref);
|
||||
}
|
||||
|
||||
editor.config.filebrowserImageBrowseUrl = url;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user