WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 11 months ago

#31688 closed feature request (fixed)

The Ability to Align oEmbedded Content

Reported by: jeffr0 Owned by:
Milestone: 5.0 Priority: normal
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

Unlike images, you can't easily align oEmbeded content in WordPress. When clicking the Pencil icon to edit the content, there's no option to change its alignment.

While there is a plugin that adds oEmbed styling https://wordpress.org/plugins/oembed-styling/, I think it's something that should be a core behavior. At the very least, core should provide a set of oEmbed CSS Classes that themes can adopt to allow users to control the alignment within the post editor.

One example is Slideshare. When I copy and paste a Slideshare link into the Visual editor, it aligns it to the left. When I click on the Pencil icon to edit the content, the only things I can manipulate is the URL and Maximum width/Maximum Height.

https://cloudup.com/cblTYR9QOh3

I searched the WordPress.org support forums to see how popular of a request this is and most of the responses are from 5 years ago before oEmbed was added to WordPress. I also searched Trac to see if a ticket requesting this had already been filed and came up empty.

Attachments (1)

SlideshareModelWindow.png (259.4 KB) - added by jeffr0 5 years ago.
The Slideshare Model Window When Trying to Edit The oEmbed

Download all attachments as: .zip

Change History (7)

@jeffr0
5 years ago

The Slideshare Model Window When Trying to Edit The oEmbed

#1 @johnbillion
4 years ago

  • Keywords needs-patch added
  • Type changed from enhancement to feature request

This ticket was mentioned in Slack in #core by johnbillion. View the logs.


4 years ago

This ticket was mentioned in Slack in #core by paaljoachim. View the logs.


4 years ago

#4 @paaljoachim
4 years ago

It would be nice to be able to click the pencil and enter specific controls added for embeds.
Aligning and resizing would be nice.

Last edited 4 years ago by paaljoachim (previous) (diff)

#5 @swissspidy
3 years ago

Related/Duplicate: #32920

#6 @swissspidy
11 months ago

  • Milestone changed from Awaiting Review to 5.0
  • Resolution set to fixed
  • Status changed from new to closed

This is no longer relevant after the merge of the block editor, where it should be fixed. Let's preserve the way it's currently built for the classic editor.

Note: See TracTickets for help on using tickets.