开发者 | skadev |
---|---|
更新时间 | 2025年9月30日 22:40 |
PHP版本: | 8.1 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
../wp-content/plugins
folder.Get a free API key from OpenRouter.ai, enter it to plugin options at Settings -> ska-blocks -> Options -> AI and enter the model you wish to use (you can find free to use models on OpenRouter website). Insert the "Tailwind" block and press the "AI" button on the toolbar to enter your prompt. You can switch between HTML or Preview mode to see what the GPT generated and click on the AI button again to have the AI make adjustments. Once ready you can convert the HTML to blocks by hitting "Convert to blocks".
Tailwind 4 supports the following browsers:
ska/text
block.sm
or hover
..htaccess
file for serving .wasm
file with proper Content-Type
and Cache-Control
.wpml_curved
and encoded_tag_closed
.wp_enqueue_style
and wp_add_inline_style
.#ska-link--front-page
can now be used as blocks' custom attribute values.>
and ^
) that can be used within selectors. In a selector [&>.a]:[&>.b]
adding a class hover:text-red
would produce [&>.a]:[&>.b]:hover:text-red
meaning that red text would be applied when hovering .b
, but prepending the variant with <
(<hover:text-red) moves it to the left, producing [&>.a]:hover:[&>.b]:text-red
. Prepending ^
moves the variant to the top.ska_blocks_user_dynamic_link
filter for modifying dynamic link output server-side.!
to the end, not the beginning.image
class alongside the wp-block-ska-gallery__image
class.ska_blocks_preset($slug)
which loads preset's CSS and returns its' class name.editor:
variant specificity.w-full h-full object-cover rounded-[inherit] aspect-[inherit]
to a wrapped image.editor-selected
variant which should be used in combination with editor
variant, e.g. hidden editor:editor-selected:block
.grid place-items-center size-6
for Icon block instead of w-6 h-auto
.