From d809bfdd12834e1a2c6149edea20df5cde8431d3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 25 Aug 2016 11:53:22 +0200 Subject: [PATCH] wysiwyg template sync --- wcfsetup/install/files/acp/templates/wysiwyg.tpl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/wysiwyg.tpl b/wcfsetup/install/files/acp/templates/wysiwyg.tpl index 2ecbda226c..c26711b263 100644 --- a/wcfsetup/install/files/acp/templates/wysiwyg.tpl +++ b/wcfsetup/install/files/acp/templates/wysiwyg.tpl @@ -14,12 +14,14 @@ '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabBlock.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabButton.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabCaret.js?v={@LAST_UPDATE_TIME}', + '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabClean.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabCode.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabColor.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabDropdown.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabEvent.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->getPath()}js/3rdParty/redactor2/plugins/WoltLabKeydown.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabLink.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabMedia.js?v={@LAST_UPDATE_TIME}', @@ -29,6 +31,7 @@ '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabQuote.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabSize.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabSmiley.js?v={@LAST_UPDATE_TIME}', + '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabSource.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabSpoiler.js?v={@LAST_UPDATE_TIME}', '{@$__wcf->getPath()}js/3rdParty/redactor2/plugins/WoltLabUtils.js?v={@LAST_UPDATE_TIME}' {else} @@ -140,12 +143,13 @@ 'remove-size': '{lang}wcf.editor.button.size.removeSize{/lang}', // color - 'remove-color': '{lang}wcf.editor.button.color.removeColor{/lang}', + 'remove-color': '{lang}wcf.editor.button.color.removeColor{/lang}' } }, linkify: false, linkSize: 0xBADC0DED, // some random value to disable truncating minHeight: 200, + placeholder: elData(element, 'placeholder') || '', plugins: [ // Imperavi 'alignment', @@ -161,18 +165,21 @@ 'WoltLabAttachment', 'WoltLabAutosave', 'WoltLabCaret', + 'WoltLabClean', 'WoltLabCode', 'WoltLabColor', 'WoltLabDropdown', 'WoltLabEvent', 'WoltLabImage', 'WoltLabInlineCode', + 'WoltLabInsert', 'WoltLabLink', 'WoltLabModal', 'WoltLabPaste', 'WoltLabQuote', 'WoltLabSize', 'WoltLabSmiley', + 'WoltLabSource', 'WoltLabSpoiler', 'WoltLabUtils' ], -- 2.20.1