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.
Commits (13)
- [[22004]] Add JavaScript methods for handling shortcodes.… by @koopersmith 13 years ago
- [[22012]] First pass on TinyMCE attachment in-editor UI.… by @koopersmith 13 years ago
- [[22023]] Remove internal TinyMCE attributes when generating the HTML for attachment views.… by @koopersmith 13 years ago
- [[22036]] BUTTON.… by @koopersmith 13 years ago
- [[22154]] Improve styling and markup for gallery and attachment MCE views.… by @koopersmith 13 years ago
- [[22208]] MCE Views: Add selection/deselection when a view is clicked.… by @koopersmith 13 years ago
- [[22210]] MCE Views: First pass at keystroke and insertion handling.… by @koopersmith 13 years ago
- [[22219]] MCE Views: Add alignment styles for generic views.… by @koopersmith 13 years ago
- [[22220]] Properly align MCE attachment views.… by @koopersmith 13 years ago
- [[22221]] Display gallery and attachment MCE views as inline blocks. Make gallery MCE view wrappers block level. see #21390, #21813, #21815.… by @koopersmith 13 years ago
- [[22245]] Add a down arrow button. see #21598, #21390, #21813.… by @koopersmith 13 years ago
- [[22247]] Add attachment display settings to the media modal.… by @koopersmith 13 years ago
- [22567] Media: Restore 3.4 editor behavior and remove TinyMCE views.… by @koopersmith 12 years ago
Pull Requests
- Loading…
Change History (19)
#3
@
13 years ago
Note that image attachments do not currently respect alignment settings when displayed in TinyMCE.
#22
@ Lead Developer
13 years ago
Still to do: sizes, alignment, etc., and the TinyMCE non-editable plugin.
#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
@ Lead Developer
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]: