Comments: Fixing placement so that default editor buttons are not rendered when editing a Comment, fixes #7927

This commit is contained in:
Lombiq
2019-08-22 18:26:48 +02:00
committed by Benedek Farkas
parent 035a47a911
commit 5a5983a893

View File

@@ -14,8 +14,12 @@
<Place Parts_Comment_Edit="Content:10"/>
<Place Parts_Comment_AdminEdit="Content:10"/>
<!-- Hide default content editor buttons when editing a Comment on the Admin and the front-end,
because both have their own form buttons. -->
<Match ContentType="Comment">
<Place Content_SaveButton="-"/><!--Show default save button only on admin-->
<Place Content_SaveButton="-"
Content_PublishButton="-"
Content_CancelButton="-" />
</Match>
<Match ContentPart="CommentsPart">