Skip to content

Commit

Permalink
feat: update image upload text to include allowed file types
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinalustig committed Mar 26, 2024
1 parent 2e6b217 commit adce1ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/prosemirror-plugins/image-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ export class ImageUploader extends PluginInterfaceView<
<div class="fs-body2 p12 pb0 js-cta-container">
<label for="${this.uploadField.id}" class="d-inline-flex f:outline-ring s-link js-browse-button" aria-controls="image-preview-${randomId}">
Browse
</label>, drag & drop<span class="js-external-url-trigger-container d-none">, <button type="button" class="s-btn s-btn__link js-external-url-trigger">enter a link</button></span>, or paste an image <span class="fc-light fs-caption">Max size 2 MiB</span>
</label>, drag & drop<span class="js-external-url-trigger-container d-none">, <button type="button" class="s-btn s-btn__link js-external-url-trigger">enter a link</button></span>, or paste an image
<div class="fc-light fs-caption">Supported file types: jpeg, png, gif, or bmp (Max size 2 MiB)</div>
</div>
<div class="js-external-url-input-container p12 d-none">
Expand Down

0 comments on commit adce1ad

Please sign in to comment.