[wp-trac] [WordPress Trac] #18311: Support HTML in image captions.

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 21 11:23:48 UTC 2012


#18311: Support HTML in image captions.
-----------------------------------+-----------------------
 Reporter:  prettyboymp            |       Owner:  sushkov
     Type:  task (blessed)         |      Status:  assigned
 Priority:  normal                 |   Milestone:  3.4
Component:  Editor                 |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  ux-feedback has-patch  |
-----------------------------------+-----------------------
Changes (by yoavf):

 * cc: yoav@… (added)


Comment:

 The textarea has the {{{code}}} class, which means it's automatically
 LTRd, even in RTL environments.
 Since I presume most usage will still be with just text, it should be
 allowed to inherit the default text direction instead.

 A few ways to do that:

 * Use Another class instead of {{{code}}}
 * Have no class at all?
 * An additional unique class that can be defined in the RTL css
 * Use a wider selector for the RTL css, such as {{{.media-single
 textarea.code} maybe

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


More information about the wp-trac mailing list