mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Clear richtext in contentcreateform
This commit is contained in:
parent
0fed888aa7
commit
e4c32c0c67
@ -207,6 +207,9 @@ use humhub\modules\space\models\Space;
|
||||
$('#public').attr('checked', false);
|
||||
$('#contentForm_message_contenteditable').html('<?php echo Html::encode(Yii::t("ContentModule.widgets_views_contentForm", "What's on your mind?")); ?>');
|
||||
$('#contentForm_message_contenteditable').addClass('atwho-placeholder');
|
||||
|
||||
$('#contentFormBody').find('.atwho-input').trigger('clear');
|
||||
|
||||
// Notify FileUploadButtonWidget to clear (by providing uploaderId)
|
||||
resetUploader('contentFormFiles');
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user