hinesboy / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
http://www.mavoneditor.com/
MIT License
6.4k stars 917 forks source link

Update upload-images.md [replace `in` by `of` for multiple files upload] #698

Closed Sequoya42 closed 2 years ago

Sequoya42 commented 3 years ago

Replace in with of


[ [ 1, 'toto' ], [ 2, 'tata' ] ]
> for (z of x) { console.log(z)}
[ 1, 'toto' ]
[ 2, 'tata' ]
undefined
> for (z in x) { console.log(z)}
0
1```

Otherwise, trying to access img[0] does not make sense.
ygj6 commented 2 years ago

Thank you.