Accept only images - when selecting files
This commit is contained in:
parent
f1cba399af
commit
31f01a2850
6 changed files with 335 additions and 7473 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,7 @@
|
|||
:prevent-white-space="true"
|
||||
:show-remove-button="false"
|
||||
:disable-drag-to-move="isDefaultImage"
|
||||
:accept="'image/*'"
|
||||
@new-image="isDefaultImage=false;zoomState=1"
|
||||
></croppa>
|
||||
</figure>
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
v-model="pages[currentPage].croppa"
|
||||
:prevent-white-space="true"
|
||||
:show-remove-button="false"
|
||||
:accept="'image/*'"
|
||||
:initial-image="pages[currentPage].image"
|
||||
:width="croppaWidth"
|
||||
:height="croppaHeight"
|
||||
|
|
Reference in a new issue