Made showing format selection optional and default to false
This commit is contained in:
parent
33b13d3775
commit
17f30190e0
4 changed files with 7 additions and 1 deletions
|
@ -139,6 +139,9 @@ const PostStatusForm = {
|
|||
},
|
||||
scopeOptionsEnabled () {
|
||||
return this.$store.state.config.scopeOptionsEnabled
|
||||
},
|
||||
formattingOptionsEnabled () {
|
||||
return this.$store.state.config.formattingOptionsEnabled
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
@paste="paste">
|
||||
</textarea>
|
||||
<div class="visibility-tray">
|
||||
<span class="text-format">
|
||||
<span class="text-format" v-if="formattingOptionsEnabled">
|
||||
<label for="post-content-type" class="select">
|
||||
<select id="post-content-type" v-model="newStatus.contentType" class="form-control">
|
||||
<option value="text/plain">{{$t('post_status.content_type.plain_text')}}</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue