Disabled image pasting
authorAlexander Ebert <ebert@woltlab.com>
Tue, 6 Sep 2016 10:43:43 +0000 (12:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 6 Sep 2016 10:43:43 +0000 (12:43 +0200)
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/acp/templates/wysiwyg.tpl

index 54b28feb45922f62d810ca284de123a11402d477..350fc99d440364ddcd0c57fe3340fcc6506fcf92 100644 (file)
                        
                        var config = {
                                buttons: buttons,
+                               clipboardImageUpload: false,
                                formatting: ['p', 'h2', 'h3', 'h4'],
                                imageCaption: false,
                                lang: 'wsc', // fake language to offload phrases
                                linkify: false,
                                linkSize: 0xBADC0DED, // some random value to disable truncating
                                minHeight: 200,
-                               //placeholder: elData(element, 'placeholder') || '',
+                               pasteImages: false,
                                plugins: [
                                        // Imperavi
                                        'alignment',
index 54b28feb45922f62d810ca284de123a11402d477..350fc99d440364ddcd0c57fe3340fcc6506fcf92 100644 (file)
                        
                        var config = {
                                buttons: buttons,
+                               clipboardImageUpload: false,
                                formatting: ['p', 'h2', 'h3', 'h4'],
                                imageCaption: false,
                                lang: 'wsc', // fake language to offload phrases
                                linkify: false,
                                linkSize: 0xBADC0DED, // some random value to disable truncating
                                minHeight: 200,
-                               //placeholder: elData(element, 'placeholder') || '',
+                               pasteImages: false,
                                plugins: [
                                        // Imperavi
                                        'alignment',