From: Alexander Ebert Date: Tue, 6 Sep 2016 10:43:43 +0000 (+0200) Subject: Disabled image pasting X-Git-Tag: 3.0.0_Beta_1~281^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cfae703bacda91cc9efa471eb90c0dd70b73f30;p=GitHub%2FWoltLab%2FWCF.git Disabled image pasting --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index 54b28feb45..350fc99d44 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -107,6 +107,7 @@ var config = { buttons: buttons, + clipboardImageUpload: false, formatting: ['p', 'h2', 'h3', 'h4'], imageCaption: false, lang: 'wsc', // fake language to offload phrases @@ -157,7 +158,7 @@ linkify: false, linkSize: 0xBADC0DED, // some random value to disable truncating minHeight: 200, - //placeholder: elData(element, 'placeholder') || '', + pasteImages: false, plugins: [ // Imperavi 'alignment', diff --git a/wcfsetup/install/files/acp/templates/wysiwyg.tpl b/wcfsetup/install/files/acp/templates/wysiwyg.tpl index 54b28feb45..350fc99d44 100644 --- a/wcfsetup/install/files/acp/templates/wysiwyg.tpl +++ b/wcfsetup/install/files/acp/templates/wysiwyg.tpl @@ -107,6 +107,7 @@ var config = { buttons: buttons, + clipboardImageUpload: false, formatting: ['p', 'h2', 'h3', 'h4'], imageCaption: false, lang: 'wsc', // fake language to offload phrases @@ -157,7 +158,7 @@ linkify: false, linkSize: 0xBADC0DED, // some random value to disable truncating minHeight: 200, - //placeholder: elData(element, 'placeholder') || '', + pasteImages: false, plugins: [ // Imperavi 'alignment',