Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#21814 closed task (blessed) (fixed)

Insert attachments into the text editor using the new media modal

Reported by: koopersmith's profile koopersmith Owned by: koopersmith's profile koopersmith
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords:
Focuses: Cc:


We have a new media modal at #21390, but it's not particularly useful unless it integrates into our existing UI. Let's make it work for inserting attachments into the text editor.

Change History (5)

#1 @ocean90
12 years ago

Related: #10161

#2 @koopersmith
12 years ago

In [22036]:


Add a "Beta Media" button to the post editor. Currently, it is only capable of inserting images. Other attachment types and galleries need not apply... yet.

  • Added attachment, props ) for generating an image as a string from an attachment and relevant attachment display properties.
  • Properly localized the gallery workflow.
  • Added Workflow.update(), which closes the modal, triggers an update event, and resets the selection.
  • Added to manage the various media workflows for editors.

see #21813, #21814, #21390.

#3 @nacin
12 years ago

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

This needs Normally, this screen will be bypassed for the visual editor as you can edit it using the in-editor view, but we need it for a textarea insert.

#4 @nacin
12 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @koopersmith
12 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from reopened to closed

In [22247]:

Add attachment display settings to the media modal.

  • Add a media view for button groups.
  • Add button dropdown containers.
  • Add a dropdown property to the button media model.

fixes #22206, #21814, see #21390, #21813, #21598.

Note: See TracTickets for help on using tickets.