Ticket #37760: 37760.patch
File 37760.patch, 1.1 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
1259 1259 var init, id, $wrap; 1260 1260 1261 1261 if ( typeof tinymce !== 'undefined' ) { 1262 // Fix RTL 1263 tinymce.on( 'addeditor', function( event ) { 1264 event.editor.rtl = event.editor.settings.rtl_ui || 1265 ( event.editor.editorManager && 1266 event.editor.editorManager.i18n && 1267 event.editor.editorManager.i18n.rtl ); 1268 }, true ); 1269 1262 1270 for ( id in tinyMCEPreInit.mceInit ) { 1263 1271 init = tinyMCEPreInit.mceInit[id]; 1264 1272 $wrap = tinymce.$( '#wp-' + id + '-wrap' ); -
src/wp-includes/css/editor.css
392 392 cursor: pointer; 393 393 } 394 394 395 .mce-btn .mce-txt { 396 direction: inherit; 397 text-align: inherit; 398 } 399 395 400 .mce-toolbar .mce-btn-group .mce-btn, 396 401 .qt-dfw { 397 402 border: 1px solid transparent;