Ticket #56194: 56194.3.patch
File 56194.3.patch, 15.0 KB (added by , 20 months ago) |
---|
-
src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
121 121 122 122 .editor-post-title__block .editor-post-title__input, 123 123 .editor-styles-wrapper .wp-block-post-title, 124 .editor-styles-wrapper .wp-blockh1,125 .editor-styles-wrapper .wp-blockh2,126 .editor-styles-wrapper .wp-blockh3,127 .editor-styles-wrapper .wp-blockh4,128 .editor-styles-wrapper .wp-blockh5,129 .editor-styles-wrapper .wp-blockh6,124 .editor-styles-wrapper h1, 125 .editor-styles-wrapper h2, 126 .editor-styles-wrapper h3, 127 .editor-styles-wrapper h4, 128 .editor-styles-wrapper h5, 129 .editor-styles-wrapper h6, 130 130 .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, 131 131 .editor-styles-wrapper cite, 132 132 .editor-styles-wrapper figcaption, … … 138 138 139 139 .editor-post-title__block .editor-post-title__input, 140 140 .editor-styles-wrapper .wp-block-post-title, 141 .editor-styles-wrapper .wp-blockh1,142 .editor-styles-wrapper .wp-blockh2,143 .editor-styles-wrapper .wp-blockh3,144 .editor-styles-wrapper .wp-blockh4,145 .editor-styles-wrapper .wp-blockh5,146 .editor-styles-wrapper .wp-blockh6,141 .editor-styles-wrapper h1, 142 .editor-styles-wrapper h2, 143 .editor-styles-wrapper h3, 144 .editor-styles-wrapper h4, 145 .editor-styles-wrapper h5, 146 .editor-styles-wrapper h6, 147 147 .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, 148 148 .editor-styles-wrapper cite, 149 149 .editor-styles-wrapper figcaption, … … 238 238 239 239 .editor-post-title__block .editor-post-title__input, 240 240 .editor-styles-wrapper .wp-block-post-title, 241 .editor-styles-wrapper .wp-blockh1,242 .editor-styles-wrapper .wp-blockh2,243 .editor-styles-wrapper .wp-blockh3,244 .editor-styles-wrapper .wp-blockh4,245 .editor-styles-wrapper .wp-blockh5,246 .editor-styles-wrapper .wp-blockh6 {241 .editor-styles-wrapper h1, 242 .editor-styles-wrapper h2, 243 .editor-styles-wrapper h3, 244 .editor-styles-wrapper h4, 245 .editor-styles-wrapper h5, 246 .editor-styles-wrapper h6 { 247 247 font-feature-settings: "lnum"; 248 248 font-variant-numeric: lining-nums; 249 249 font-weight: 700; … … 255 255 256 256 .editor-post-title__block .editor-post-title__input, 257 257 .editor-styles-wrapper .wp-block-post-title, 258 .editor-styles-wrapper .wp-block h1 { 258 .editor-styles-wrapper h1, 259 .editor-styles-wrapper .heading-size-1 { 259 260 font-size: 36px; 260 261 font-weight: 800; 261 262 line-height: 1.138888889; 262 263 } 263 264 264 .editor-styles-wrapper .wp-block h2 { 265 .editor-styles-wrapper h2, 266 .editor-styles-wrapper .heading-size-2 { 265 267 font-size: 32px; 266 268 } 267 269 268 .editor-styles-wrapper .wp-block h3 { 270 .editor-styles-wrapper h3, 271 .editor-styles-wrapper .heading-size-3 { 269 272 font-size: 28px; 270 273 } 271 274 272 .editor-styles-wrapper .wp-block h4 { 275 .editor-styles-wrapper h4, 276 .editor-styles-wrapper .heading-size-4 { 273 277 font-size: 24px; 274 278 } 275 279 276 .editor-styles-wrapper .wp-block h5 { 280 .editor-styles-wrapper h5, 281 .editor-styles-wrapper .heading-size-5 { 277 282 font-size: 21px; 278 283 } 279 284 280 .editor-styles-wrapper .wp-block h6 { 285 .editor-styles-wrapper h6, 286 .editor-styles-wrapper .heading-size-6 { 281 287 font-size: 16px; 282 288 letter-spacing: 0.03125em; 283 289 text-transform: uppercase; … … 1232 1238 1233 1239 .editor-post-title__block .editor-post-title__input, 1234 1240 .editor-styles-wrapper .wp-block-post-title, 1235 .editor-styles-wrapper .wp-block h1 { 1241 .editor-styles-wrapper h1, 1242 .editor-styles-wrapper .heading-size-1 { 1236 1243 font-size: 64px; 1237 1244 } 1238 1245 1239 .editor-styles-wrapper .wp-block h2 { 1246 .editor-styles-wrapper h2, 1247 .editor-styles-wrapper .heading-size-2 { 1240 1248 font-size: 48px; 1241 1249 } 1242 1250 1243 .editor-styles-wrapper .wp-block h3 { 1251 .editor-styles-wrapper h3, 1252 .editor-styles-wrapper .heading-size-3 { 1244 1253 font-size: 40px; 1245 1254 } 1246 1255 1247 .editor-styles-wrapper .wp-block h4 { 1256 .editor-styles-wrapper h4, 1257 .editor-styles-wrapper .heading-size-4 { 1248 1258 font-size: 32px; 1249 1259 } 1250 1260 1251 .editor-styles-wrapper .wp-block h5 { 1261 .editor-styles-wrapper h5, 1262 .editor-styles-wrapper .heading-size-5 { 1252 1263 font-size: 24px; 1253 1264 } 1254 1265 … … 1411 1422 1412 1423 .editor-post-title__block .editor-post-title__input, 1413 1424 .editor-styles-wrapper .wp-block-post-title, 1414 .editor-styles-wrapper .wp-block h1 { 1425 .editor-styles-wrapper h1, 1426 .editor-styles-wrapper .heading-size-1 { 1415 1427 font-size: 84px; 1416 1428 } 1417 1429 1418 .editor-styles-wrapper .wp-block h6 { 1430 .editor-styles-wrapper h6, 1431 .editor-styles-wrapper .heading-size-6 { 1419 1432 font-size: 18px; 1420 1433 } 1421 1434 -
src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
121 121 122 122 .editor-post-title__block .editor-post-title__input, 123 123 .editor-styles-wrapper .wp-block-post-title, 124 .editor-styles-wrapper .wp-blockh1,125 .editor-styles-wrapper .wp-blockh2,126 .editor-styles-wrapper .wp-blockh3,127 .editor-styles-wrapper .wp-blockh4,128 .editor-styles-wrapper .wp-blockh5,129 .editor-styles-wrapper .wp-blockh6,124 .editor-styles-wrapper h1, 125 .editor-styles-wrapper h2, 126 .editor-styles-wrapper h3, 127 .editor-styles-wrapper h4, 128 .editor-styles-wrapper h5, 129 .editor-styles-wrapper h6, 130 130 .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, 131 131 .editor-styles-wrapper cite, 132 132 .editor-styles-wrapper figcaption, … … 138 138 139 139 .editor-post-title__block .editor-post-title__input, 140 140 .editor-styles-wrapper .wp-block-post-title, 141 .editor-styles-wrapper .wp-blockh1,142 .editor-styles-wrapper .wp-blockh2,143 .editor-styles-wrapper .wp-blockh3,144 .editor-styles-wrapper .wp-blockh4,145 .editor-styles-wrapper .wp-blockh5,146 .editor-styles-wrapper .wp-blockh6,141 .editor-styles-wrapper h1, 142 .editor-styles-wrapper h2, 143 .editor-styles-wrapper h3, 144 .editor-styles-wrapper h4, 145 .editor-styles-wrapper h5, 146 .editor-styles-wrapper h6, 147 147 .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter, 148 148 .editor-styles-wrapper cite, 149 149 .editor-styles-wrapper figcaption, … … 238 238 239 239 .editor-post-title__block .editor-post-title__input, 240 240 .editor-styles-wrapper .wp-block-post-title, 241 .editor-styles-wrapper .wp-blockh1,242 .editor-styles-wrapper .wp-blockh2,243 .editor-styles-wrapper .wp-blockh3,244 .editor-styles-wrapper .wp-blockh4,245 .editor-styles-wrapper .wp-blockh5,246 .editor-styles-wrapper .wp-blockh6 {241 .editor-styles-wrapper h1, 242 .editor-styles-wrapper h2, 243 .editor-styles-wrapper h3, 244 .editor-styles-wrapper h4, 245 .editor-styles-wrapper h5, 246 .editor-styles-wrapper h6 { 247 247 font-feature-settings: "lnum"; 248 248 font-variant-numeric: lining-nums; 249 249 font-weight: 700; … … 255 255 256 256 .editor-post-title__block .editor-post-title__input, 257 257 .editor-styles-wrapper .wp-block-post-title, 258 .editor-styles-wrapper .wp-block h1 { 258 .editor-styles-wrapper h1, 259 .editor-styles-wrapper .heading-size-1 { 259 260 font-size: 36px; 260 261 font-weight: 800; 261 262 line-height: 1.138888889; 262 263 } 263 264 264 .editor-styles-wrapper .wp-block h2 { 265 .editor-styles-wrapper h2, 266 .editor-styles-wrapper .heading-size-2 { 265 267 font-size: 32px; 266 268 } 267 269 268 .editor-styles-wrapper .wp-block h3 { 270 .editor-styles-wrapper h3, 271 .editor-styles-wrapper .heading-size-3 { 269 272 font-size: 28px; 270 273 } 271 274 272 .editor-styles-wrapper .wp-block h4 { 275 .editor-styles-wrapper h4, 276 .editor-styles-wrapper .heading-size-4 { 273 277 font-size: 24px; 274 278 } 275 279 276 .editor-styles-wrapper .wp-block h5 { 280 .editor-styles-wrapper h5, 281 .editor-styles-wrapper .heading-size-5 { 277 282 font-size: 21px; 278 283 } 279 284 280 .editor-styles-wrapper .wp-block h6 { 285 .editor-styles-wrapper h6, 286 .editor-styles-wrapper .heading-size-6 { 281 287 font-size: 16px; 282 288 letter-spacing: 0.03125em; 283 289 text-transform: uppercase; … … 1232 1238 1233 1239 .editor-post-title__block .editor-post-title__input, 1234 1240 .editor-styles-wrapper .wp-block-post-title, 1235 .editor-styles-wrapper .wp-block h1 { 1241 .editor-styles-wrapper h1, 1242 .editor-styles-wrapper .heading-size-1 { 1236 1243 font-size: 64px; 1237 1244 } 1238 1245 1239 .editor-styles-wrapper .wp-block h2 { 1246 .editor-styles-wrapper h2, 1247 .editor-styles-wrapper .heading-size-2 { 1240 1248 font-size: 48px; 1241 1249 } 1242 1250 1243 .editor-styles-wrapper .wp-block h3 { 1251 .editor-styles-wrapper h3, 1252 .editor-styles-wrapper .heading-size-3 { 1244 1253 font-size: 40px; 1245 1254 } 1246 1255 1247 .editor-styles-wrapper .wp-block h4 { 1256 .editor-styles-wrapper h4, 1257 .editor-styles-wrapper .heading-size-4 { 1248 1258 font-size: 32px; 1249 1259 } 1250 1260 1251 .editor-styles-wrapper .wp-block h5 { 1261 .editor-styles-wrapper h5, 1262 .editor-styles-wrapper .heading-size-5 { 1252 1263 font-size: 24px; 1253 1264 } 1254 1265 … … 1411 1422 1412 1423 .editor-post-title__block .editor-post-title__input, 1413 1424 .editor-styles-wrapper .wp-block-post-title, 1414 .editor-styles-wrapper .wp-block h1 { 1425 .editor-styles-wrapper h1, 1426 .editor-styles-wrapper .heading-size-1 { 1415 1427 font-size: 84px; 1416 1428 } 1417 1429 1418 .editor-styles-wrapper .wp-block h6 { 1430 .editor-styles-wrapper h6, 1431 .editor-styles-wrapper .heading-size-6 { 1419 1432 font-size: 18px; 1420 1433 } 1421 1434 -
src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css
215 215 margin: 40px 0 25px; 216 216 } 217 217 218 body#tinymce.wp-editor.content h1 { 218 body#tinymce.wp-editor.content h1, 219 body#tinymce.wp-editor.content .heading-size-1 { 219 220 font-size: 84px; 220 221 font-weight: 800; 221 222 line-height: 1.138888889; 222 223 } 223 224 224 body#tinymce.wp-editor.content h2 { 225 body#tinymce.wp-editor.content h2, 226 body#tinymce.wp-editor.content .heading-size-2 { 225 227 font-size: 48px; 226 228 } 227 229 228 body#tinymce.wp-editor.content h3 { 230 body#tinymce.wp-editor.content h3, 231 body#tinymce.wp-editor.content .heading-size-3 { 229 232 font-size: 40px; 230 233 } 231 234 232 body#tinymce.wp-editor.content h4 { 235 body#tinymce.wp-editor.content h4, 236 body#tinymce.wp-editor.content .heading-size-4 { 233 237 font-size: 32px; 234 238 } 235 239 236 body#tinymce.wp-editor.content h5 { 240 body#tinymce.wp-editor.content h5, 241 body#tinymce.wp-editor.content .heading-size-5 { 237 242 font-size: 24px; 238 243 } 239 244 240 body#tinymce.wp-editor.content h6 { 245 body#tinymce.wp-editor.content h6, 246 body#tinymce.wp-editor.content .heading-size-6 { 241 247 font-size: 18px; 242 248 letter-spacing: 0.03125em; 243 249 text-transform: uppercase; -
src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css
215 215 margin: 40px 0 25px; 216 216 } 217 217 218 body#tinymce.wp-editor.content h1 { 218 body#tinymce.wp-editor.content h1, 219 body#tinymce.wp-editor.content .heading-size-1 { 219 220 font-size: 84px; 220 221 font-weight: 800; 221 222 line-height: 1.138888889; 222 223 } 223 224 224 body#tinymce.wp-editor.content h2 { 225 body#tinymce.wp-editor.content h2, 226 body#tinymce.wp-editor.content .heading-size-2 { 225 227 font-size: 48px; 226 228 } 227 229 228 body#tinymce.wp-editor.content h3 { 230 body#tinymce.wp-editor.content h3, 231 body#tinymce.wp-editor.content .heading-size-3 { 229 232 font-size: 40px; 230 233 } 231 234 232 body#tinymce.wp-editor.content h4 { 235 body#tinymce.wp-editor.content h4, 236 body#tinymce.wp-editor.content .heading-size-4 { 233 237 font-size: 32px; 234 238 } 235 239 236 body#tinymce.wp-editor.content h5 { 240 body#tinymce.wp-editor.content h5, 241 body#tinymce.wp-editor.content .heading-size-5 { 237 242 font-size: 24px; 238 243 } 239 244 240 body#tinymce.wp-editor.content h6 { 245 body#tinymce.wp-editor.content h6, 246 body#tinymce.wp-editor.content .heading-size-6 { 241 247 font-size: 18px; 242 248 letter-spacing: 0.03125em; 243 249 text-transform: uppercase; -
src/wp-content/themes/twentytwenty/classes/class-twentytwenty-non-latin-languages.php
119 119 'twentytwenty_get_localized_font_family_elements', 120 120 array( 121 121 'front-end' => array( 'body', 'input', 'textarea', 'button', '.button', '.faux-button', '.wp-block-button__link', '.wp-block-file__button', '.has-drop-cap:not(:focus)::first-letter', '.entry-content .wp-block-archives', '.entry-content .wp-block-categories', '.entry-content .wp-block-cover-image', '.entry-content .wp-block-latest-comments', '.entry-content .wp-block-latest-posts', '.entry-content .wp-block-pullquote', '.entry-content .wp-block-quote.is-large', '.entry-content .wp-block-quote.is-style-large', '.entry-content .wp-block-archives *', '.entry-content .wp-block-categories *', '.entry-content .wp-block-latest-posts *', '.entry-content .wp-block-latest-comments *', '.entry-content p', '.entry-content ol', '.entry-content ul', '.entry-content dl', '.entry-content dt', '.entry-content cite', '.entry-content figcaption', '.entry-content .wp-caption-text', '.comment-content p', '.comment-content ol', '.comment-content ul', '.comment-content dl', '.comment-content dt', '.comment-content cite', '.comment-content figcaption', '.comment-content .wp-caption-text', '.widget_text p', '.widget_text ol', '.widget_text ul', '.widget_text dl', '.widget_text dt', '.widget-content .rssSummary', '.widget-content cite', '.widget-content figcaption', '.widget-content .wp-caption-text' ), 122 'block-editor' => array( '.editor-styles-wrapper > *', '.editor-styles-wrapper p', '.editor-styles-wrapper ol', '.editor-styles-wrapper ul', '.editor-styles-wrapper dl', '.editor-styles-wrapper dt', '.editor-post-title__block .editor-post-title__input', '.editor-styles-wrapper .wp-block-post-title', '.editor-styles-wrapper .wp-block h1', '.editor-styles-wrapper .wp-block h2', '.editor-styles-wrapper .wp-block h3', '.editor-styles-wrapper .wp-block h4', '.editor-styles-wrapper .wp-block h5', '.editor-styles-wrapper .wp-blockh6', '.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter', '.editor-styles-wrapper cite', '.editor-styles-wrapper figcaption', '.editor-styles-wrapper .wp-caption-text' ),122 'block-editor' => array( '.editor-styles-wrapper > *', '.editor-styles-wrapper p', '.editor-styles-wrapper ol', '.editor-styles-wrapper ul', '.editor-styles-wrapper dl', '.editor-styles-wrapper dt', '.editor-post-title__block .editor-post-title__input', '.editor-styles-wrapper .wp-block-post-title', '.editor-styles-wrapper h1', '.editor-styles-wrapper h2', '.editor-styles-wrapper h3', '.editor-styles-wrapper h4', '.editor-styles-wrapper h5', '.editor-styles-wrapper h6', '.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter', '.editor-styles-wrapper cite', '.editor-styles-wrapper figcaption', '.editor-styles-wrapper .wp-caption-text' ), 123 123 'classic-editor' => array( 'body#tinymce.wp-editor', 'body#tinymce.wp-editor p', 'body#tinymce.wp-editor ol', 'body#tinymce.wp-editor ul', 'body#tinymce.wp-editor dl', 'body#tinymce.wp-editor dt', 'body#tinymce.wp-editor figcaption', 'body#tinymce.wp-editor .wp-caption-text', 'body#tinymce.wp-editor .wp-caption-dd', 'body#tinymce.wp-editor cite', 'body#tinymce.wp-editor table' ), 124 124 ) 125 125 );