Skip to content

Commit ee485e4

Browse files
authored
Merge branch 'develop' into develop
2 parents 8813e2d + 137be8b commit ee485e4

File tree

5 files changed

+10
-24
lines changed

5 files changed

+10
-24
lines changed

app/code/Magento/PageBuilder/etc/adminhtml/di.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,4 +648,7 @@
648648
<plugin name="pagebuilder_clear_editor_config_cache"
649649
type="Magento\PageBuilder\Plugin\ClearEditorConfigCache" sortOrder="10"/>
650650
</type>
651+
<type name="Magento\CatalogWidget\Block\Product\ProductsList">
652+
<plugin name="pagebuilder_product_list" type="Magento\PageBuilder\Plugin\Catalog\Block\Product\ProductsListPlugin" sortOrder="1"/>
653+
</type>
651654
</config>

app/code/Magento/PageBuilder/etc/di.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@
184184
<arguments>
185185
<argument name="productCollectionFactory" xsi:type="object">pageBuilderProductCollectionFactory</argument>
186186
</arguments>
187-
<plugin name="pagebuilder_product_list" type="Magento\PageBuilder\Plugin\Catalog\Block\Product\ProductsListPlugin" sortOrder="1"/>
188187
</type>
189188
<type name="Magento\Catalog\Helper\Output">
190189
<arguments>

app/code/Magento/PageBuilder/etc/frontend/di.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
<type name="Magento\Email\Model\Template\Filter">
1313
<plugin name="escapeCustomVarDirectives" type="Magento\PageBuilder\Plugin\Filter\CustomVarTemplate"/>
1414
</type>
15+
<type name="Magento\CatalogWidget\Block\Product\ProductsList">
16+
<plugin name="pagebuilder_product_list" type="Magento\PageBuilder\Plugin\Catalog\Block\Product\ProductsListPlugin" sortOrder="1"/>
17+
</type>
1518
</config>

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/products/_default.less

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
margin-left: -20px;
2828
}
2929

30-
.product-items {
31-
&:extend(.abs-reset-list all);
32-
}
33-
3430
.product-item {
3531
display: inline-block;
3632
max-width: 100%;
@@ -40,8 +36,6 @@
4036
vertical-align: top;
4137
width: 200px;
4238

43-
&:extend(.abs-add-box-sizing all);
44-
4539
a,
4640
button,
4741
.swatch-attribute-options {
@@ -192,24 +186,16 @@
192186
}
193187

194188
&.towishlist {
195-
&:extend(.abs-actions-addto all);
196-
.lib-icon-font-symbol(
197-
@_icon-font-content: @icon-wishlist-full,
198-
@_icon-font-position: before
199-
);
189+
.lib-icon-font-symbol(@_icon-font-content: @icon-wishlist-full, @_icon-font-position: before);
200190
}
201191

202192
&.tocompare {
203-
.lib-icon-font-symbol(
204-
@_icon-font-content: @icon-compare-full,
205-
@_icon-font-position: before
206-
);
193+
.lib-icon-font-symbol(@_icon-font-content: @icon-compare-full, @_icon-font-position: before);
207194
}
208195
}
209196
}
210197

211198
.product-item-name {
212-
&:extend(.abs-product-link all);
213199
-moz-hyphens: auto;
214200
-ms-hyphens: auto;
215201
-webkit-hyphens: auto;
@@ -251,11 +237,7 @@
251237
}
252238

253239
.rating-summary {
254-
.lib-rating-summary(
255-
@_icon-font: 'luma-icons',
256-
@_icon-font-size: 16px,
257-
@_icon-letter-spacing: 2px
258-
);
240+
.lib-rating-summary(@_icon-font: 'luma-icons', @_icon-font-size: 16px, @_icon-letter-spacing: 2px);
259241
.lib-rating-summary-label-hide();
260242

261243
display: inline-block;
@@ -274,7 +256,6 @@
274256
overflow: hidden;
275257
position: relative;
276258
z-index: 1;
277-
&:extend(.abs-reset-image-wrapper all);
278259
}
279260

280261
.product-image-container {

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/validator-rules-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ define([
6767
* @return {Boolean}
6868
*/
6969
function validateCssClass(str) {
70-
return (/^[a-zA-Z _\-\d]+$/i).test(str);
70+
return (/^[a-zA-Z\d\-_/:.[\]&@()! ]+$/i).test(str);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)