clipboard onfocus select all
This commit is contained in:
parent
477256bb94
commit
b7a7a9accb
@ -4,7 +4,11 @@
|
|||||||
v-if="opened"
|
v-if="opened"
|
||||||
@click="$event.stopPropagation()"
|
@click="$event.stopPropagation()"
|
||||||
>
|
>
|
||||||
<textarea ref="textarea" v-model="clipboard" />
|
<textarea
|
||||||
|
ref="textarea"
|
||||||
|
v-model="clipboard"
|
||||||
|
@focus="$event.target.select()"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user