From: Matthias Schmidt Date: Fri, 22 Mar 2019 15:09:36 +0000 (+0100) Subject: Change default availablity of form builder wyswyig components X-Git-Tag: 5.2.0_Alpha_1~189 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a11099b75079c8e73ca155c29bced97fa8902be7;p=GitHub%2FWoltLab%2FWCF.git Change default availablity of form builder wyswyig components See #2852 --- 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 */