WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 22 months 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.


2 years ago

#2 @danielbachhuber
2 years ago

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.

This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.


23 months ago

This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.


22 months ago

#5 @iseulde
22 months ago

  • Keywords close added

Is it okay to close this?

#6 @helen
22 months ago

Did we fix it via a changeset, or is it invalid now?

#7 @iseulde
22 months ago

Anything with a script will be sandboxed since [28748].

#8 @azaozz
22 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Should have mentioned this ticket in [28748], sry. The sandboxing seems to work well. Closing as fixed, feel free to reopen if any bugs.

Note: See TracTickets for help on using tickets.