You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ Schemas.Posts = new SimpleSchema({
176
176
177
177
The accept values works makes use of the native HTML `accept` attribute. Read more at the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers).
178
178
179
-
Please read the section on **custom upload templates** and how to integrate configs like *accept* to your custom template.
179
+
Please read the section on __custom upload templates__ and how to integrate configs like *accept* to your custom template.
180
180
181
181
## Multiple images
182
182
@@ -274,9 +274,9 @@ Your custom file upload template data context will be:
274
274
</template>
275
275
```
276
276
277
-
### Note on upload configs:
277
+
### Note on upload configs:
278
278
279
-
If you pass any config, like `accept` your upload data won't be falsey anymore,
279
+
If you pass any config, like `accept` your upload data won't be falsy anymore,
280
280
so you should update your template to the example above and check for each of the given properties.
281
281
This is however backwards-compatible and will not break your older templates if you don't need any of the upload config
0 commit comments