No textboxes to customize.
Ensure the parent container has defined height and width to make the iframe responsive.
Here's how you can send messages to the iframe:
// Sending a message to the iframe const iframe = document.getElementById('myIframe'); iframe.contentWindow.postMessage({ action: 'addTextBox', data: { text: 'Hello World' } }, '*');
And here's how to receive messages from the iframe:
// Receiving messages from the iframe window.addEventListener('message', (event) => { if (event.origin !== 'https://app.imagetexteditor.com') return; const data = event.data; // Handle the data received from the iframe });Refer to docs for complete instruction