Merge pull request #757 from amyspark/fix-editing-cw

Fix moving cursor in CW input
This commit is contained in:
AkiraFukushima 2018-11-30 08:15:45 +09:00 committed by GitHub
commit 90865f6ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
class="new-toot-modal"> class="new-toot-modal">
<el-form v-on:submit.prevent="toot" role="form"> <el-form v-on:submit.prevent="toot" role="form">
<div class="spoiler" v-show="showContentWarning"> <div class="spoiler" v-show="showContentWarning">
<el-input :placeholder="$t('modals.new_toot.cw')" v-model="spoiler"></el-input> <div class="el-input">
<input type="text" class="el-input__inner" :placeholder="$t('modals.new_toot.cw')" v-model="spoiler" v-shortkey.avoid />
</div>
</div> </div>
<Status <Status
v-model="status" v-model="status"