File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web/template/form/element/uploader/preview Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 7
7
< div class ="pagebuilder-image-uploader-container " data-role ="drop-zone " css ="_loading: isLoading, 'has-data': hasData() ">
8
8
< div class ="pagebuilder-options " data-bind ="visible: hasData() || isShowImageUploadOptions " if ="visibleControls ">
9
9
< div class ="pagebuilder-options-wrapper ">
10
+ < div class ="file-uploader image-uploader ">
11
+ < div class ="file-uploader-area " if ="visibleControls ">
12
+ < input type ="file " afterRender ="onElementRender " attr ="id: uid, name: inputName, multiple: isMultipleFiles " disable ="disabled "/>
13
+ < label class ="file-uploader-button action-default " attr ="for: uid " disable ="disabled " translate ="translations.uploadNewImage "> </ label >
14
+ < render args ="fallbackResetTpl " if ="$data.showFallbackReset && $data.isDifferedFromDefault "> </ render >
15
+ </ div >
16
+ </ div >
10
17
< ul class ="pagebuilder-options-links ">
11
- < li class ="pagebuilder-options-link ">
12
- < label
13
- data-bind ="event: {mousedown: stopEvent} "
14
- class ="file-uploader-button action-default "
15
- attr ="for: uid "
16
- disable ="disabled "
17
- translate ="translations.uploadNewImage "> </ label >
18
- </ li >
19
18
< li class ="pagebuilder-options-link ">
20
19
< label
21
20
data-bind ="event: {change: addFileFromMediaGallery, click: openMediaBrowserDialog, mousedown: stopEvent} "
You can’t perform that action at this time.
0 commit comments