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

fixes #29553.
Built from https://develop.svn.wordpress.org/trunk@29773


git-svn-id: http://core.svn.wordpress.org/trunk@29545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-09-27 11:10:16 +00:00
parent 045a222180
commit d7de59cb00
6 changed files with 28 additions and 2 deletions

View File

@ -600,6 +600,8 @@ final class _WP_Editors {
}
}
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
if ( !empty($set['tinymce']['body_class']) ) {
$body_class .= ' ' . $set['tinymce']['body_class'];
unset($set['tinymce']['body_class']);

View File

@ -807,6 +807,14 @@ i.mce-i-hr:before {
box-sizing: border-box;
}
.rtl .wp-editor-area {
font-family: Tahoma, Monaco, monospace;
}
.locale-he-il .wp-editor-area {
font-family: Arial, Monaco, monospace;
}
.wp-editor-container textarea.wp-editor-area {
width: 100%;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@ -807,6 +807,14 @@ i.mce-i-hr:before {
box-sizing: border-box;
}
.rtl .wp-editor-area {
font-family: Tahoma, Monaco, monospace;
}
.locale-he-il .wp-editor-area {
font-family: Arial, Monaco, monospace;
}
.wp-editor-container textarea.wp-editor-area {
width: 100%;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,14 @@ body {
margin: 9px 10px;
}
body.rtl {
font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
}
body.locale-he-il {
font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
}
body.wp-autoresize {
max-width: 100%;
overflow: visible !important;