Make WordPress Core

Changeset 29773


Ignore:
Timestamp:
09/27/2014 11:10:01 AM (12 years ago)
Author:
SergeyBiryukov
Message:

Use Tahoma for RTL in general and Arial for Hebrew in editor styles.

fixes #29553.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r29628 r29773  
    600600                                }
    601601                        }
     602
     603                        $body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
    602604
    603605                        if ( !empty($set['tinymce']['body_class']) ) {
  • trunk/src/wp-includes/css/editor.css

    r29616 r29773  
    808808}
    809809
     810.rtl .wp-editor-area {
     811        font-family: Tahoma, Monaco, monospace;
     812}
     813
     814.locale-he-il .wp-editor-area {
     815        font-family: Arial, Monaco, monospace;
     816}
     817
    810818.wp-editor-container textarea.wp-editor-area {
    811819        width: 100%;
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r29545 r29773  
    1616        color: #333;
    1717        margin: 9px 10px;
     18}
     19
     20body.rtl {
     21        font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
     22}
     23
     24body.locale-he-il {
     25        font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
    1826}
    1927
Note: See TracChangeset for help on using the changeset viewer.