Roland Soos
Roland Soos
Try to initialize the second tab's jtrac, when the user switches to the tab. (The second tab has display:none; and in this case the plugin will be unable to calculate...
There is a `wp_get_attachment_url` filter which could be used for this. ``` /** * Filters the attachment URL. * * @since 2.1.0 * * @param string $url URL for the...
Here is what worked for me: ``` return new Promise((resolve, reject) => { requestAnimationFrame(() => { requestAnimationFrame(() => { htmlToImage.toPng(...) }) .then(resolve) .catch(reject); }); }); ```
@westonruter We use output buffering in our 900k+ plugin and based on my experience I suggest the following changes: ```php
This is what worked for me: ```
If you use the `enqueue_block_assets` action and your editor is in iframed mode, your script will run twice—once in the admin page and once in the iframe. This happens because...
I do not think that there will be workaround. We switched over server side rendering with headless Chrome.
@qq15725 This problem still happens with complex example with the new version too. https://codesandbox.io/p/sandbox/modern-screenshot-forked-4fdxk6?file=%2Findex.html%3A17%2C23&workspaceId=192a8b3e-2754-418a-b6f2-6bb0195a7dc0
I made it public.
This is how it looks for me: 