[wp-trac] [WordPress Trac] #24409: Edit Image in TinyMCE editor revamp
WordPress Trac
noreply at wordpress.org
Fri Jan 24 15:32:26 UTC 2014
#24409: Edit Image in TinyMCE editor revamp
-----------------------------+------------------------------
Reporter: eablokker | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by gcorne):
So after some discussion on IRC, I spent some time putting together an
initial patch for editing the various attributes of images embedded in
posts via a media modal.
Some notes on the patch:
* To open the modal for now, double-click on an image in a post or select
the image and then click again. The plan is to show buttons for edit and
delete after selecting the image like there are in 3.8 but with a look-
and-feel that better matches the 3.8 admin redesign.
* The “replace image” state is only partly functional, and the “replace
image from url” state has not been added. We also should be able to
incorporate an “edit image” state when the work needed to incorporate the
edit functionality into the modal is completed.
* There probably will need to be some refactoring done to use less
inheritance and more composition. All the inheritance can be hard to
follow.
* The code for the old modal in the wpeditimage tinymce plugin will need
to be removed.
* I didn’t put any energy into the design.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24409#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list