Fix editor paste preserve formatting user setting
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 31 Aug 2017 15:09:16 +0000 (17:09 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 31 Aug 2017 15:09:25 +0000 (17:09 +0200)
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/acp/templates/wysiwyg.tpl

index a19f5b7058e124c7f64dfede8b78a4ad15661d03..0922d6221795844b5f150916e238b8a7847f1835 100644 (file)
                                linkSize: 0xBADC0DED, // some random value to disable truncating
                                minHeight: 200,
                                pasteImages: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('img')}true{else}false{/if},
-                               pastePlainText: {if !$__wcf->user->userID || $__wcf->user->editorPastePreserveFormatting}true{else}false{/if},
+                               pastePlainText: {if !$__wcf->user->userID || $__wcf->user->editorPastePreserveFormatting}false{else}true{/if},
                                plugins: [
                                        // Imperavi
                                        'alignment',
index a19f5b7058e124c7f64dfede8b78a4ad15661d03..0922d6221795844b5f150916e238b8a7847f1835 100644 (file)
                                linkSize: 0xBADC0DED, // some random value to disable truncating
                                minHeight: 200,
                                pasteImages: {if $__wcf->getBBCodeHandler()->isAvailableBBCode('img')}true{else}false{/if},
-                               pastePlainText: {if !$__wcf->user->userID || $__wcf->user->editorPastePreserveFormatting}true{else}false{/if},
+                               pastePlainText: {if !$__wcf->user->userID || $__wcf->user->editorPastePreserveFormatting}false{else}true{/if},
                                plugins: [
                                        // Imperavi
                                        'alignment',