| 开发者 |
rtomo
rotistudio |
|---|---|
| 更新时间 | 2026年8月15日 20:46 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_theme_json_data_theme filter. This makes them appear alongside your theme's own fonts in the Typography panel of every block that supports font selection. The corresponding CSS classes are enqueued as inline styles, so fonts are applied correctly both in the editor and on the frontend./wp-content/plugins/web-safe-fonts-for-editor-by-rotistudio directory./wp-admin/options-writing.phpAny block that exposes the Typography panel in the block editor supports font selection. This includes Paragraph, Heading, List, Button, and many more — both core blocks and third-party blocks that follow WordPress block standards.
No. The plugin adds its fonts alongside your theme's existing font families, not instead of them. Your theme fonts remain fully available.
Sad, but no. The font families are registered in the theme.json layer, which classic themes may not fully support. The plugin is primarily designed for block themes and Full Site Editing.
Yes. The plugin uses the standard wp_theme_json_data_theme filter, which is the recommended way to extend typography settings in FSE block themes.
First, go to Dashboard / Settings / Writing, select the desired font checkbox, and save. Then go to Dashboard / Appearance / Editor / Styles / Typography, and the Fonts list, and activate the required variant.
Yes. By default the plugin uses font-display: swap. Developers can override it with the rswsfg_font_display filter (auto, block, swap, fallback, or optional).