@@ -23,15 +23,15 @@ To add configuration for a new content type, create a file under the following l
23
23
<elements >
24
24
<element name =" main" path =" ." >
25
25
<style_properties >
26
- <property source =" text_align" name =" text_align" />
27
- <property source = " border_style " name = " border " />
28
- <property converter = " Magento_PageBuilder/js/converter/style/color " source =" border_color" name = " border_color " />
29
- <property converter =" Magento_PageBuilder/js/converter/style/border-width" source = " border_width " name = " border_width " />
30
- <property converter =" Magento_PageBuilder/js/converter/style/remove-px" source = " border_radius " name = " border_radius " />
31
- <complex_property converter = " Magento_PageBuilder/js/converter/style/ margins-and-paddings" reader =" Magento_PageBuilder/js/property/ margins-and-paddings" name = " margins_and_padding " />
26
+ <property name =" text_align" source =" text_align" />
27
+ <property name = " border " source = " border_style " />
28
+ <property name = " border_color " source =" border_color" converter = " Magento_PageBuilder/js/converter/style/color " />
29
+ <property name = " border_width " source = " border_width " converter =" Magento_PageBuilder/js/converter/style/border-width" />
30
+ <property name = " border_radius " source = " border_radius " converter =" Magento_PageBuilder/js/converter/style/remove-px" />
31
+ <complex_property name = " margins_and_padding " reader = " Magento_PageBuilder/js/property/ margins-and-paddings" converter =" Magento_PageBuilder/js/converter/style/ margins-and-paddings" />
32
32
</style_properties >
33
33
<attributes >
34
- <attribute source = " data-role " name = " name " />
34
+ <attribute name = " name " source = " data-role " />
35
35
</attributes >
36
36
<css name =" css_classes" />
37
37
</element >
@@ -220,15 +220,15 @@ Now, let's add content type that can contain other content types. Create configu
220
220
<elements >
221
221
<element name =" main" path =" ." >
222
222
<style_properties >
223
- <property source =" text_align" name =" text_align" />
224
- <property source = " border_style " name = " border " />
225
- <property converter = " Magento_PageBuilder/js/converter/style/color " source =" border_color" name = " border_color " />
226
- <property converter =" Magento_PageBuilder/js/converter/style/border-width" source = " border_width " name = " border_width " />
227
- <property converter =" Magento_PageBuilder/js/converter/style/remove-px" source = " border_radius " name = " border_radius " />
228
- <complex_property converter = " Magento_PageBuilder/js/converter/style/ margins-and-paddings" reader =" Magento_PageBuilder/js/property/ margins-and-paddings" name = " margins_and_padding " />
223
+ <property name =" text_align" source =" text_align" />
224
+ <property name = " border " source = " border_style " />
225
+ <property name = " border_color " source =" border_color" converter = " Magento_PageBuilder/js/converter/style/color " />
226
+ <property name = " border_width " source = " border_width " converter =" Magento_PageBuilder/js/converter/style/border-width" />
227
+ <property name = " border_radius " source = " border_radius " converter =" Magento_PageBuilder/js/converter/style/remove-px" />
228
+ <complex_property name = " margins_and_padding " reader = " Magento_PageBuilder/js/property/ margins-and-paddings" converter =" Magento_PageBuilder/js/converter/style/ margins-and-paddings" />
229
229
</style_properties >
230
230
<attributes >
231
- <attribute source = " data-role " name = " name " />
231
+ <attribute name = " name " source = " data-role " />
232
232
</attributes >
233
233
<css name =" css_classes" />
234
234
</element >
0 commit comments