| 开发者 | namithjawahar |
|---|---|
| 更新时间 | 2026年7月6日 22:54 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
is-style-* class on or offmulti-block-styles folder to the /wp-content/plugins/ directory.Any block that has registered style variations. Core blocks include Button, Image, Separator, Quote, and Table. It also works with any custom or third-party blocks that register styles.
Yes. The toggle behavior is fully backward-compatible. Selecting a single style works the same as before — the only difference is that you can now select additional styles without deselecting the first.
The last declared style in CSS takes precedence. For best results, design styles to control different properties (e.g., one for borders, another for shadows) so they compose cleanly.
No. Block styles are stored as CSS classes in the block's className attribute, which is a standard string. Multiple is-style-* classes have always been valid HTML — WordPress just didn't provide a UI to select more than one.