[wp-trac] [WordPress Trac] #32920: Centering iFrames using visual editor
WordPress Trac
noreply at wordpress.org
Mon Jul 15 19:17:38 UTC 2019
#32920: Centering iFrames using visual editor
-----------------------------+-------------------------
Reporter: prionkor | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
-----------------------------+-------------------------
Changes (by azaozz):
* keywords: dev-feedback has-patch needs-testing needs-unit-tests =>
* status: new => closed
* type: defect (bug) => feature request
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Looking at this again, seems the TinyMCE `media` plugin is not used now
when pasting a video embed code (that is an iframe) in the Text tab.
Testing with few Vimeo videos, the iframes seem to work properly and are
not replaced with a video placeholder as before, and cannot be resized by
dragging in the Visual tab but the width/height can be entered on the Text
tab.
Aligning these iframes works as expected. They are wrapped in `<p style
="text-align:center">` as mentioned in the ticket description.
Also there are several ways to add a video:
- Add a video block in the block editor.
- Add a media & text block.
- Add one of the embed blocks for videos from a specific site (Youtube,
Vimeo, etc.).
- Paste the URL in the classic block and editor (if the host site supports
oEmbed).
- Use the media modal to insert a video shortcode for a locally hosted
videos.
Closing as worksforme. Feel free to reopen if there is something we can
fix here for the classic editor and block.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32920#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list