WordPress.org

Make WordPress Core

Ticket #51157: 51157.1.patch

File 51157.1.patch, 7.0 KB (added by amolv, 13 months ago)

Patch refresh, RTL language support.

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

     
    9696.block-library-list ul.editor-rich-text__tinymce,
    9797.edit-post-visual-editor ol,
    9898.editor-block-list__block ol,
    99 .block-library-list ol.editor-rich-text__tinymce {
    100         margin: 0 0 1.625em 2.5em;
    101         padding: 0;
    102 }
    103 
     99.block-library-list ol.editor-rich-text__tinymce,
    104100.block-library-list .editor-rich-text__tinymce {
    105101        padding: 0;
    106102}
     
    146142        margin-bottom: 0;
    147143}
    148144
    149 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    150 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    151 .rtl .block-library-list ul,
    152 .rtl .edit-post-visual-editor ol,
    153 .rtl .editor-block-list__block ol,
    154 .rtl .block-library-list ol {
    155         margin-left: 0;
    156         margin-right: 1.3333em;
    157 }
    158 
    159145/* Captions */
    160146
    161147[class^="wp-block-"] figcaption {
  • src/wp-content/themes/twentyfifteen/css/editor-blocks.css

     
    331331.block-library-list ul,
    332332.edit-post-visual-editor ol,
    333333.editor-block-list__block ol,
    334 .block-library-list ol {
    335         padding: 0;
    336 }
    337 
     334.block-library-list ol,
    338335.block-library-list .editor-rich-text__tinymce {
    339336        padding: 0;
    340337}
     
    365362        margin-bottom: 0;
    366363}
    367364
    368 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    369 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    370 .rtl .block-library-list ul,
    371 .rtl .edit-post-visual-editor ol,
    372 .rtl .editor-block-list__block ol,
    373 .rtl .block-library-list ol {
    374         margin-left: 0;
    375         margin-right: 1.3333em;
    376 }
    377 
    378365/* Quote */
    379366
    380367.rtl .editor-block-list__block blockquote {
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    9797.block-library-list ul,
    9898.edit-post-visual-editor ol,
    9999.editor-block-list__block ol,
    100 .block-library-list ol {
    101         margin: 0 0 1.6em 1.3333em;
    102         padding: 0;
    103 }
    104 
     100.block-library-list ol,
    105101.block-library-list .editor-rich-text__tinymce {
    106102        padding: 0;
    107103}
     
    132128        margin-bottom: 0;
    133129}
    134130
    135 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    136 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    137 .rtl .block-library-list ul,
    138 .rtl .edit-post-visual-editor ol,
    139 .rtl .editor-block-list__block ol,
    140 .rtl .block-library-list ol {
    141         margin-left: 0;
    142         margin-right: 1.3333em;
    143 }
    144 
    145131/* Code */
    146132
    147133.wp-block-freeform.block-library-rich-text__tinymce code {
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    388388.editor-block-list__block ol,
    389389.block-library-list ol,
    390390.block-library-list .editor-rich-text__tinymce {
    391         margin: 0 0 1.5em 1.5em;
    392391        padding: 0;
    393392}
    394393
     
    420419        margin: 0;
    421420}
    422421
    423 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    424 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    425 .rtl .block-library-list ul,
    426 .rtl .edit-post-visual-editor ol,
    427 .rtl .editor-block-list__block ol,
    428 .rtl .block-library-list ol,
    429 .rtl .block-library-list .editor-rich-text__tinymce,
    430 .rtl .edit-post-visual-editor li > ul:not(.wp-block-gallery),
    431 .rtl .editor-block-list__block li > ul:not(.wp-block-gallery),
    432 .rtl .block-library-list li > ul:not(.wp-block-gallery),
    433 .rtl .edit-post-visual-editor li > ol,
    434 .rtl .editor-block-list__block li > ol,
    435 .rtl .block-library-list li > ol {
    436         margin-left: 1.5em;
    437         margin-right: 1.5em;
    438 }
    439 
    440422/* Quote styles */
    441423
    442424.editor-block-list__block blockquote p {
  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    197197.edit-post-visual-editor ol,
    198198.editor-block-list__block ol,
    199199.block-library-list ol {
    200         margin: 0 0 1.75em 1.25em;
    201200        padding: 0;
    202201}
    203202
     
    231230        margin-bottom: 0;
    232231}
    233232
    234 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    235 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    236 .rtl .block-library-list ul,
    237 .rtl .edit-post-visual-editor ol,
    238 .rtl .editor-block-list__block ol,
    239 .rtl .block-library-list ol {
    240         margin-left: 0;
    241         margin-right: 1.25em;
    242         padding: 0;
    243 }
    244 
    245 .rtl .edit-post-visual-editor ol,
    246 .rtl .editor-block-list__block ol,
    247 .rtl .block-library-list ol {
    248         margin-left: 1.5em;
    249         margin-right: 1.5em;
    250 }
    251 
    252233/* Quotes */
    253234
    254235.rtl .editor-block-list__block blockquote {
  • src/wp-content/themes/twentyten/editor-blocks.css

     
    9696.edit-post-visual-editor ol,
    9797.editor-block-list__block ol,
    9898.block-library-list ol.editor-rich-text__tinymce {
    99         margin: 0 0 18px 1.5em;
    10099        padding: 0;
    101100}
    102101
     
    130129        margin-bottom: 0;
    131130}
    132131
    133 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    134 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    135 .rtl .block-library-list ul,
    136 .rtl .edit-post-visual-editor ol,
    137 .rtl .editor-block-list__block ol,
    138 .rtl .block-library-list ol {
    139         margin-left: 0;
    140         margin-right: 1.25em;
    141         padding: 0;
    142 }
    143 
    144132/* Caption styles */
    145133
    146134[class^="wp-block-"] figcaption {
  • src/wp-content/themes/twentythirteen/css/editor-blocks.css

     
    8383.block-library-list ul,
    8484.edit-post-visual-editor ol,
    8585.editor-block-list__block ol,
    86 .block-library-list ol {
    87         margin: 16px 0;
    88         padding: 0 0 0 40px;
    89 }
    90 
     86.block-library-list ol,
    9187.block-library-list .editor-rich-text__tinymce {
    92         padding: 0 0 0 40px;
     88        padding: 0;
    9389}
    9490
    9591.edit-post-visual-editor ul:not(.wp-block-gallery),
     
    121117        margin-bottom: 0;
    122118}
    123119
    124 .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
    125 .rtl .editor-block-list__block ul:not(.wp-block-gallery),
    126 .rtl .block-library-list ul,
    127 .rtl .edit-post-visual-editor ol,
    128 .rtl .editor-block-list__block ol,
    129 .rtl .block-library-list ol {
    130         padding-left: 0;
    131         padding-right: 40px;
    132 }
    133 
    134 .rtl .block-library-list .editor-rich-text__tinymce {
    135         padding-left: 0;
    136         padding-right: 40px;
    137 }
    138 
    139120/* Quote */
    140121
    141122.wp-block-freeform.block-library-rich-text__tinymce blockquote {