Opened 13 years ago
Closed 12 years ago
#21813 closed task (blessed) (fixed)
Attachment views in TinyMCE
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | highest omg bbq |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
One of the main improvements in the new media workflow is the fact that it is unified. To that end, we need to override the default TinyMCE image handling to allow users to re-enter the WordPress media modal, or make minor adjustments, such as changing the size, alignment, or link URL.
This view should be backed by the new JS media models.
This should be developed in concert with #21812, which will hopefully make non-editable WordPress-based TinyMCE views better across the board.
See #21390 for the media umbrella ticket.
Change History (19)
#3
@
13 years ago
Note that image attachments do not currently respect alignment settings when displayed in TinyMCE.
#29
@
13 years ago
Having an image right at the beginning of the content:
<img width="300" height="206" src="http://wp.dev/wp-content/uploads/2012/09/363631-300x206.jpg" class="alignnone size-medium wp-image-247" />
After I switch to Visual Mode and then back to Text, I get this:
<img width="300" height="206" src="http://wp.dev/wp-content/uploads/2012/09/363631-300x206.jpg" class="alignnone size-medium wp-image-247" />
Edit: Happens in Firefox; doesn't happen in Chrome.
#30
@
12 years ago
- Priority changed from normal to highest omg bbq
Pivot time: We're removing views.
They're great, but basically are only a nice-to-have given we didn't tackle dragging images into the editor. And it's just going to take us too long to shore them up. So we're going to go back to old caption and gallery handling. (Probably still leveraging the new shortcode JS API and a few other goodies.) Better the devil you know than the devil you don't.
Blocking bugs "fixed" by removing views: #22257, #22123, #22155, #22266.
In [22004]: