Skip to content

Commit f904f92

Browse files
author
Hwashiang Yu
committed
MC-800: Create custom content block
- Updated documentation to have correct file location and content type label
1 parent cf4c088 commit f904f92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/PageBuilder/docs/how-to-create-custom-pagebuilder-content-type-container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The configuration for container group will be the following snippet:
8080
``` xml
8181
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_PageBuilder:etc/content_type.xsd">
8282
<type name="custom-container-group"
83-
label="Custom Container Group"
83+
label="Containers"
8484
component="Magento_PageBuilder/js/content-type-collection"
8585
preview_component="CustomPageBuilder_CustomContentTypes/js/content-type/custom-container-group/preview"
8686
master_component="Magento_PageBuilder/js/content-type/master-collection"
@@ -622,7 +622,7 @@ Now we are going to add logic to the container group and container.
622622
In the file:
623623

624624
``` xml
625-
view/adminhtml/web/js/content-type/custom-container-group.js
625+
view/adminhtml/web/js/content-type/custom-container-group/preview.js
626626
```
627627

628628
We are going to add the following:
@@ -703,7 +703,7 @@ In this preview component we are doing 4 things.
703703
Next lets add logic to the container in the file:
704704

705705
``` xml
706-
view/adminhtml/web/js/content-type/custom-container.js
706+
view/adminhtml/web/js/content-type/custom-container/preview.js
707707
```
708708

709709
With the content:

0 commit comments

Comments
 (0)