From 7095523e5a08819eef98db061c1db45167c32291 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 6 Jun 2016 17:21:50 +0200 Subject: [PATCH] Using custom image edit template --- .../redactor2/plugins/WoltLabImage.js | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabImage.js 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 -- 2.20.1