From: Alexander Ebert Date: Mon, 6 Jun 2016 15:21:50 +0000 (+0200) Subject: Using custom image edit template X-Git-Tag: 3.0.0_Beta_1~1514 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7095523e5a08819eef98db061c1db45167c32291;p=GitHub%2FWoltLab%2FWCF.git Using custom image edit template --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabImage.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabImage.js new file mode 100644 index 0000000000..bf119939d8 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabImage.js @@ -0,0 +1,24 @@ +$.Redactor.prototype.WoltLabImage = function() { + "use strict"; + + return { + init: function() { + // overwrite modal templates + this.opts.modal['image-edit'] = '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '' + + '' + + '
' + + '
'; + + } + }; +}; \ No newline at end of file