From: Joshua Rüsweg Date: Thu, 31 Aug 2017 15:09:16 +0000 (+0200) Subject: Fix editor paste preserve formatting user setting X-Git-Tag: 3.1.0_Alpha_2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13046b4a421b8f281e804d38bf07bb05433d62b0;p=GitHub%2FWoltLab%2FWCF.git Fix editor paste preserve formatting user setting --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index a19f5b7058..0922d62217 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -181,7 +181,7 @@ 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', diff --git a/wcfsetup/install/files/acp/templates/wysiwyg.tpl b/wcfsetup/install/files/acp/templates/wysiwyg.tpl index a19f5b7058..0922d62217 100644 --- a/wcfsetup/install/files/acp/templates/wysiwyg.tpl +++ b/wcfsetup/install/files/acp/templates/wysiwyg.tpl @@ -181,7 +181,7 @@ 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',