Hi all, Can i know whether the design bold sdk will support react 16.8 .when i try to integrate design bold with react 16.8 close buttons are not working and preview button is not showing.
Hi, thank you for contacting us.
To help you further can you provide some more details about your website, url, demo, integration case?
The more details we have the better we can guide you.
Waiting for your reply.
With regards Don
Hi Don,
Please find the below design bold button integration.
Initiate design button: let selector = "#db_img_src"; let asset_url = image url; let dom_btn = document.getElementById("db_img_src"); dom_btn.setAttribute("data-db-image", asset_url); window.DBSDK.initCustomButton(selector);
Design bold button:
<NavLink className="db-btn-designit" data-db-unit="px" data-db-action="create" id="db_img_src" data-db-image="" data-db-title="1" > <i className="fa fa-magic" aria-hidden="true"></i> </NavLink>