cancel
Showing results for 
Search instead for 
Did you mean: 

Page builder custom content type master template data not fetching(2.4.6-p7)

SOLVED

Page builder custom content type master template data not fetching(2.4.6-p7)

in conenttype xml file

<element name="block_title">
<html name="block_title" converter="Magento_PageBuilder/js/converter/html/tag-escaper" />
</element>

in ui component 

<fieldset name="block_data" sortOrder="20">
<settings>
<label translate="true">Main</label>
<collapsible>true</collapsible>
<opened>true</opened>
</settings>
 
<field name="block_title" sortOrder="10" formElement="input">
<settings>
<label translate="true">Title</label>
<dataType>text</dataType>
<dataScope>block_title</dataScope>
<validation>
<rule name="validate-string" xsi:type="boolean">true</rule>
</validation>
</settings>
</field>
</fieldset>

 

master.html
<div attr="data.main.attributes" ko-style="data.main.style" ...>
<div>
<h3>Block Title:</h3>
</div>
<div attr="data.block_title.attributes"></div>
</div>



expected output was entered block title but im not getting that i dont whether i should do any other thing to fetch the data here
Screenshot from 2024-08-29 15-00-13.pngScreenshot from 2024-08-29 15-00-34.png
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Page builder custom content type master template data not fetching(2.4.6-p7)

solved by simply binding the values inside the parent div

View solution in original post

1 REPLY 1

Re: Page builder custom content type master template data not fetching(2.4.6-p7)

solved by simply binding the values inside the parent div