From 5cfae703bacda91cc9efa471eb90c0dd70b73f30 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 6 Sep 2016 12:43:43 +0200 Subject: [PATCH] Disabled image pasting --- com.woltlab.wcf/templates/wysiwyg.tpl | 3 ++- wcfsetup/install/files/acp/templates/wysiwyg.tpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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', -- 2.20.1