[wp-trac] [WordPress Trac] #19060: admin CSS: .code, code should have direction:ltr (for rtl installations)

WordPress Trac noreply at wordpress.org
Tue Sep 5 08:35:24 UTC 2017


#19060: admin CSS: .code, code should have direction:ltr (for rtl installations)
--------------------------+------------------------
 Reporter:  panuy         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  RTL           |     Version:  3.2.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------

Comment (by ramiy):

 Replying to [comment:7 azaozz]:
 > So, what's the best way for here: `unicode-bidi: override;` or
 `direction: ltr;`?

 With `direction` the entire block is displayed from left to right. With
 `unicode-bidi` you use it when the text has several languages.

 For example when a text has both English and Hebrew we need to use
 `unicode-bidi` to fix visual issues. But code blocks has only English
 text, so we need to set only the `direction`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19060#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list