-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Describe the bug
The portal editor image drop zone in the default theme (https://search.dataone.org/edit/portals/[*]) is not working (neither click or drop functions produce any action). It does work on other themes (e.g. https://drp.dataone.org/edit/portals/drp-data).
To Reproduce
Steps to reproduce the behavior:
-
Click on the drop zone or drag and drop an image:
-
See error in console:
ImageUploaderView could not be rendered, error message: Error: No URL provided. Dropzone dropzone-amd-module.js:1078 dropzone dropzone-amd-module.js:3216 jQuery 2 each each dropzone dropzone-amd-module.js:3215 render ImageUploaderView.js:222 addMdImage MarkdownEditorView.js:669 render MarkdownEditorView.js:358 n woofmark.min.js:2 ImageUploaderView.js:404:19 render https://search.dataone.org/js/views/ImageUploaderView.js?v=2.36.2:404 addMdImage https://search.dataone.org/js/views/MarkdownEditorView.js?v=2.36.2:669 render https://search.dataone.org/js/views/MarkdownEditorView.js?v=2.36.2:358 n https://search.dataone.org/components/woofmark.min.js?v=2.36.2:2
Expected behavior
The file upload dialog should appear when clicked, and image upload should occur when dragged and dropped.
Screenshots
n/a
Desktop (please complete the following information):
- OS: iOS
- Browser: Firefox
- Version: 144.0.2 (but confirmed to happen across browsers and versions)
Smartphone (please complete the following information):
- Device: all
- OS: all
- Browser all
- Version all
Additional context
n/a
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status