File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
app/code/Magento/PageBuilder
Controller/Adminhtml/Template
view/adminhtml/web/template/modal/template-manager Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,6 @@ public function execute()
151
151
// Store the preview image within the new entity
152
152
$ template ->setPreviewImage ($ filePath );
153
153
} catch (\Exception $ e ) {
154
- echo $ e ->getMessage ();
155
- exit ;
156
154
$ this ->logger ->critical ($ e );
157
155
158
156
return $ this ->resultFactory ->create (ResultFactory::TYPE_JSON )->setData (
Original file line number Diff line number Diff line change 27
27
</ label >
28
28
< % } %>
29
29
< div class ="admin__field-control ">
30
- < input type ="text " data-role ="promptField " id ="prompt-field-<%- data.id %> " class ="admin__control-text " < %= inputAttr %> />
30
+ < input type ="text " data-role ="promptField " id ="prompt-field-<%- data.id %> " maxlength =" 250 " class ="admin__control-text " < %= inputAttr %> />
31
31
</ div >
32
32
</ div >
33
33
< % if(data.templateTypes){ %>
You can’t perform that action at this time.
0 commit comments