Make WordPress Core

Ticket #63073: 63073.1.patch

File 63073.1.patch, 855 bytes (added by sabernhardt, 2 months ago)

adjusts editor-blocks to reflect theme's figcaption styles with the revised class order, using text-align: start to work around the missing .rtl class within the iframe

  • src/wp-content/themes/twentytwelve/css/editor-blocks.css

     
    141141
    142142/* Captions */
    143143
     144[class*=" wp-block-"] figcaption,
    144145[class^="wp-block-"] figcaption,
    145146[class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
    146147        color: #757575;
     
    147148        font-size: 12px;
    148149        line-height: 2;
    149150        font-style: italic;
    150         text-align: left;
     151        text-align: start;
    151152}
    152153
    153 .rtl [class^="wp-block-"] figcaption,
    154 .rtl [class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
    155         text-align: right;
    156 }
    157 
    158154/* Definition Lists */
    159155
    160156.wp-block-freeform.block-library-rich-text__tinymce dt {