From a11099b75079c8e73ca155c29bced97fa8902be7 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 22 Mar 2019 16:09:36 +0100 Subject: [PATCH] Change default availablity of form builder wyswyig components See #2852 --- .../container/wysiwyg/WysiwygFormContainer.class.php | 6 +++--- .../form/builder/field/wysiwyg/WysiwygFormField.class.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php index 2052275ee9..87ee088ef2 100644 --- a/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/container/wysiwyg/WysiwygFormContainer.class.php @@ -112,7 +112,7 @@ class WysiwygFormContainer extends FormContainer { * is `true` if smilies are supported for this container, otherwise `false` * @var boolean */ - protected $supportSmilies = false; + protected $supportSmilies = true; /** * actual wysiwyg form field @@ -509,7 +509,7 @@ class WysiwygFormContainer extends FormContainer { /** * Sets if quotes are supported by the editor field and returns this form container. * - * By default, quotes are supported. + * By default, quotes are not supported. * * @param boolean $supportMention * @return WysiwygFormContainer this form container @@ -528,7 +528,7 @@ class WysiwygFormContainer extends FormContainer { /** * Sets if smilies are supported for this form container and returns this form container. * - * By default, smilies are not supported. + * By default, smilies are supported. * * @param boolean $supportSmilies * @return WysiwygFormContainer this form container diff --git a/wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygFormField.class.php index 628118fff3..5c2e880e0c 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygFormField.class.php @@ -332,7 +332,7 @@ class WysiwygFormField extends AbstractFormField implements IMaximumLengthFormFi /** * Returns `true` if the form field supports quotes and returns `false` otherwise. * - * By default, quotes are supported. + * By default, quotes are not supported. * * @return boolean */ -- 2.20.1