[wp-trac] [WordPress Trac] #24409: Edit Image in TinyMCE editor revamp

WordPress Trac noreply at wordpress.org
Fri May 24 22:38:57 UTC 2013


#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:                   |
-----------------------------+------------------------------

Comment (by eablokker):

 Replying to [comment:3 SergeyBiryukov]:
 > We have `img_html_to_post_id()` (introduced in [24240] for #24188). It
 tries to extract the ID from the CSS class first, and falls back to
 `attachment_url_to_postid()`.

 Wow, nice work! I can see this working 99.9% of the time except for that
 one edge case where you've deleted your CSS class, changed your thumbnail
 sizes, and used a plugin to regenerate your thumbnails. But I suppose
 future updates to this function could address that, and we can go ahead
 and use this function for now.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24409#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list