We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample code on https://fiddle.tiny.cloud/
<script type="text/javascript"> tinymce.init({ selector: "textarea", plugins: ["media"], toolbar: "media", media_url_resolver: (data) => { return new Promise((resolve) => { if (data.url.indexOf('a.com') !== -1) { resolve({ html: `<iframe src="z.com" width="400" height="400" ></iframe>` }); } else { resolve({ html: '' }); } }); } }); </script> <form method="post" action="dump.php"><textarea name="content"></textarea></form>
<iframe src="z.com" width="400" height="400" ></iframe>
<iframe src="a.com" width="500" height="500"></iframe>
Even dimensions changed, the code in "Embed" should be: <iframe src="z.com" width="500" height="500"></iframe>
<iframe src="z.com" width="500" height="500"></iframe>
Iframe src did not change to z.com after dimensions changed. Only the first time input without dimensions change did the correct url resolve.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sample code on https://fiddle.tiny.cloud/
📝 Provide detailed reproduction steps (if any)
<iframe src="z.com" width="400" height="400" ></iframe>
<iframe src="a.com" width="500" height="500"></iframe>
✔️ Expected result
Even dimensions changed, the code in "Embed" should be:
<iframe src="z.com" width="500" height="500"></iframe>
❌ Actual result
Iframe src did not change to z.com after dimensions changed.
Only the first time input without dimensions change did the correct url resolve.
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: