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},
plugins: [
// Imperavi
'alignment',
<defaultvalue>1</defaultvalue>
<options>module_user_signature</options>
</option>
+ <option name="editorPastePreserveFormatting">
+ <categoryname>settings.general.interface</categoryname>
+ <optiontype>boolean</optiontype>
+ <editable>3</editable>
+ <defaultvalue>1</defaultvalue>
+ </option>
<!-- settings.privacy.content -->
<option name="canViewOnlineStatus">
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabEvent.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabFont.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabFullscreen.js?v={@LAST_UPDATE_TIME}',
+ '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabHtml.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabImage.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabInlineCode.js?v={@LAST_UPDATE_TIME}',
'{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabInsert.js?v={@LAST_UPDATE_TIME}',
'wcf.editor.code.line.description': '{lang}wcf.editor.code.line.description{/lang}',
'wcf.editor.code.title': '{lang __literal=true}wcf.editor.code.title{/lang}',
+ 'wcf.editor.html.description': '{lang}wcf.editor.html.description{/lang}',
+ 'wcf.editor.html.title': '{lang}wcf.editor.html.title{/lang}',
+
'wcf.editor.image.edit': '{lang}wcf.editor.image.edit{/lang}',
'wcf.editor.image.insert': '{lang}wcf.editor.image.insert{/lang}',
'wcf.editor.image.link': '{lang}wcf.editor.image.link{/lang}',
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},
plugins: [
// Imperavi
'alignment',
'WoltLabDropdown',
{if $__wcf->getBBCodeHandler()->isAvailableBBCode('font')}'WoltLabFont',{/if}
'WoltLabFullscreen',
+ {if $__wcf->getBBCodeHandler()->isAvailableBBCode('html')}'WoltLabHtml',{/if}
'WoltLabImage',
'WoltLabInlineCode',
'WoltLabInsert',
<item name="wcf.user.option.googlePlus"><![CDATA[Google+]]></item>
<item name="wcf.user.option.googlePlus.description"><![CDATA[21-stellige Google-Plus-ID, Google-Plus Benutzername (+Benutzername) oder URL zum Google-Plus-Profil]]></item>
<item name="wcf.user.option.canWriteProfileComments"><![CDATA[Kann Pinnwand-Kommentare schreiben]]></item>
+ <item name="wcf.user.option.editorPastePreserveFormatting"><![CDATA[Text-Formatierung beim Einfügen in den Editor übernehmen]]></item>
+ <item name="wcf.user.option.editorPastePreserveFormatting.description"><![CDATA[Die Deaktivierung dieser Option erzwingt das Einfügen aus der Zwischenablage in reiner Textform, Formatierungen werden dabei entfernt.]]></item>
<item name="wcf.user.option.searchRadioButtonOption"><![CDATA[Auswahl des Benutzers bei „{lang}wcf.user.option.{$option->optionName}{/lang}“:]]></item>
<item name="wcf.user.option.searchTextOption"><![CDATA[„{lang}wcf.user.option.{$option->optionName}{/lang}“ enthält:]]></item>
<item name="wcf.user.option.googlePlus"><![CDATA[Google+]]></item>
<item name="wcf.user.option.googlePlus.description"><![CDATA[Enter the 21 digit Google Plus user ID, Google Plus username (+Username), or the URL of your Google Plus profile.]]></item>
<item name="wcf.user.option.canWriteProfileComments"><![CDATA[Can Write Comments on My Wall]]></item>
+ <item name="wcf.user.option.editorPastePreserveFormatting"><![CDATA[Preserve text formatting when pasting into the editor]]></item>
+ <item name="wcf.user.option.editorPastePreserveFormatting.description"><![CDATA[Disabling this option will force any content to be pasted from clipboard as plain text, stripping all formatting.]]></item>
<item name="wcf.user.option.searchRadioButtonOption"><![CDATA[User’s selection for “{lang}wcf.user.option.{$option->optionName}{/lang}”:]]></item>
<item name="wcf.user.option.searchTextOption"><![CDATA[“{lang}wcf.user.option.{$option->optionName}{/lang}” contains:]]></item>