| @@ -21,8 +21,18 @@ | ||
| 21 | 21 | // global style |
| 22 | 22 | 'default_container_width' => 1140, |
| 23 | 23 | 'container_padding' => 10, |
| 24 | 24 | 'container_element_gap' => 20, |
| 25 | + // Responsive breakpoint widths (px). Consumed by every CSS generator | |
| 26 | + // and the block editor; see Helper::get_breakpoints(). | |
| 27 | + 'breakpoint_tablet' => 800, | |
| 28 | + 'breakpoint_mobile' => 480, | |
| 29 | + // How breakpoint queries relate: 'cascade' (max-width envelopes — a | |
| 30 | + // Tablet value also applies on Mobile) or 'strict' (exclusive bands). | |
| 31 | + // See Helper::get_breakpoint_mode(). | |
| 32 | + 'breakpoint_mode' => 'cascade', | |
| 33 | + // User-registered extra breakpoints: [ { key, label, width } ]. | |
| 34 | + 'breakpoint_custom' => [], | |
| 25 | 35 | 'enabled_assets_file_generation' => false, |
| 26 | 36 | 'enabled_block_copy_paste_style' => true, |
| 27 | 37 | // Design system lock: authors may only use the global typography / |
| 28 | 38 | // colour presets, so nobody can hand-pick a one-off value by mistake. |
| @@ -60,8 +70,13 @@ | ||
| 60 | 70 | 'perf_inline_css' => true, |
| 61 | 71 | 'perf_async_css' => false, |
| 62 | 72 | 'perf_critical_css' => false, |
| 63 | 73 | 'perf_defer_js' => false, |
| 74 | + // Editor — turn a document pasted from Google Docs into aBlocks blocks | |
| 75 | + // and take its images into the media library as WebP. | |
| 76 | + 'paste_google_docs' => true, | |
| 77 | + 'paste_convert_webp' => true, | |
| 78 | + 'paste_webp_quality' => 92, | |
| 64 | 79 | // Performance Suite — full-page HTML cache. Off by default: unlike |
| 65 | 80 | // the toggles above it changes what every visitor receives, so it |
| 66 | 81 | // needs a deliberate decision rather than inheriting a default. |
| 67 | 82 | // See docs/PAGE-CACHE-PLAN.md. |