Opened 10 years ago
Closed 10 years ago
#28249 closed enhancement (fixed)
Sandbox embeds in an <iframe> for loading preview in TinyMCE
Reported by: | wonderboymusic | Owned by: | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Embeds | Keywords: | close |
Focuses: | Cc: |
Description
An alternate approach to #28195.
Change History (8)
This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. View the logs.
10 years ago
This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.
10 years ago
This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
iframes work great — I've used this approach on a client project. Basically, the iframe made a request to admin-ajax.php, admin-ajax rendered the embed, and the iframe communicated back to TinyMCE its height and width.