Make WordPress Core

Ticket #29553: 29553.patch

File 29553.patch, 1.6 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-includes/class-wp-editor.php

     
    600600                                }
    601601                        }
    602602
     603                        $body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
     604
    603605                        if ( !empty($set['tinymce']['body_class']) ) {
    604606                                $body_class .= ' ' . $set['tinymce']['body_class'];
    605607                                unset($set['tinymce']['body_class']);
  • src/wp-includes/css/editor.css

     
    807807        box-sizing: border-box;
    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%;
    812820        margin: 0;
  • src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

     
    1717        margin: 9px 10px;
    1818}
    1919
     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;
     26}
     27
    2028body.wp-autoresize {
    2129        max-width: 100%;
    2230        overflow: visible !important;