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:
parent
045a222180
commit
d7de59cb00
|
@ -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']) ) {
|
if ( !empty($set['tinymce']['body_class']) ) {
|
||||||
$body_class .= ' ' . $set['tinymce']['body_class'];
|
$body_class .= ' ' . $set['tinymce']['body_class'];
|
||||||
unset($set['tinymce']['body_class']);
|
unset($set['tinymce']['body_class']);
|
||||||
|
|
|
@ -807,6 +807,14 @@ i.mce-i-hr:before {
|
||||||
box-sizing: border-box;
|
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 {
|
.wp-editor-container textarea.wp-editor-area {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -807,6 +807,14 @@ i.mce-i-hr:before {
|
||||||
box-sizing: border-box;
|
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 {
|
.wp-editor-container textarea.wp-editor-area {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,6 +17,14 @@ body {
|
||||||
margin: 9px 10px;
|
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 {
|
body.wp-autoresize {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
|
Loading…
Reference in New Issue