Opened 12 years ago
Closed 12 years ago
#28249 closed enhancement (fixed)
Sandbox embeds in an <iframe> for loading preview in TinyMCE
| Reported by: | wonderboymusic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Embeds | Version: | 4.0 |
| Severity: | normal | Keywords: | close |
| Cc: | Focuses: |
Description
An alternate approach to #28195.
Change History (8)
This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. View the logs.
12 years ago
This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.
12 years ago
This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.
12 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.