| @@ -501,8 +501,23 @@ | ||
| 501 | 501 | ], |
| 502 | 502 | 'desc' => __( 'Please note! Allowing uploads of any files (SVG & JSON included) is a potential security risk.', 'elementor' ) . '<br>' . __( 'Elementor will try to sanitize the unfiltered files, removing potential malicious code and scripts.', 'elementor' ) . '<br>' . __( 'We recommend you only enable this feature if you understand the security risks involved.', 'elementor' ), |
| 503 | 503 | ], |
| 504 | 504 | ], |
| 505 | + 'font_display' => [ | |
| 506 | + 'label' => __( 'Google Fonts Load', 'elementor' ), | |
| 507 | + 'field_args' => [ | |
| 508 | + 'type' => 'select', | |
| 509 | + 'std' => 'auto', | |
| 510 | + 'options' => [ | |
| 511 | + 'auto' => __( 'Default', 'elementor' ), | |
| 512 | + 'block' => __( 'Blocking', 'elementor' ), | |
| 513 | + 'swap' => __( 'Swap', 'elementor' ), | |
| 514 | + 'fallback' => __( 'Fallback', 'elementor' ), | |
| 515 | + 'optional' => __( 'Optional', 'elementor' ), | |
| 516 | + ], | |
| 517 | + 'desc' => __( 'Font-display property defines how font files are loaded and displayed by the browser.', 'elementor' ) . '<br>' . __( 'Set the way Google Fonts are being loaded by selecting the font-display property (Default: Auto).', 'elementor' ), | |
| 518 | + ], | |
| 519 | + ], | |
| 505 | 520 | ], |
| 506 | 521 | ], |
| 507 | 522 | ], |
| 508 | 523 | ], |