ska-blocks – TailwindCSS for Block Editor

ska-blocks – TailwindCSS for Block Editor

توسط

ska-blocks plugin provides a seamless Tailwind CSS integration with the WordPress Block Editor.
Manage Tailwind classes on blocks with an intuitive UI, making it possible to implement any Tailwind-based website design directly in the Block Editor with no build step, template files or third party page builders. The plugin comes with low level blocks that can represent any HTML element, which makes it possible to convert custom HTML to blocks and makes the Gutenberg editor incredibly flexible.

Live demo on WordPress playground
Website
Read the docs

Features

  • Enter any Tailwind class – the plugin compiles the CSS for it and enqueues it in the block editor and front end.
  • No bloat – any classes you don’t use on the page don’t get loaded, only Tailwind theme and properties are loaded globally, optionally Tailwind’s preflight can be included as well.
  • Responsive – easily target any breakpoint in the block editor.
  • Flexible – full control to utilize all HTML elements with any HTML attributes and styles – tailor custom solutions with no need for page builder bloat.
  • Convert HTML to blocks – have an existing TailwindCSS-based design? Convert it to blocks automatically, use UI to fine-tune it and have less-technical users easily modify text content in a simple WYSIWYG environment.
  • Presets & Variations – create reusable sets of classes, or blocks.
  • AI integration – generate Tailwind HTML using AI and convert it to blocks on the spot.

Blocks

  • Text – any HTML element that contains rich text.
  • Element – any HTML element that contains other elements.
  • Tailwind – convert Tailwind HTML to blocks – find HTML from the web or generate with AI.
  • Image – render an image, placeholder, SVG, featured image, Lottie.
  • Gallery – render multiple images with simple markup.

External services

When using AI this plugin connects to an API endpoint to communicate with various AI models. No external connection is made until you enter your own API key and specifically interact with the AI feature of the “Tailwind” block. Request is made when you press “Generate” and include your written prompt and the contents of the Tailwind block.
This service is provided by “OpenRouter”: terms of use, privacy policy.

Install via admin dashboard

  1. Go to your WordPress admin dashboard -> Plugins.
  2. Click “Add New”.
  3. Click “Upload Plugin”.
  4. Select the plugin zip file.
  5. Click “Install Now”.
  6. Activate the plugin from WordPress admin dashboard -> Plugins.

Manual install via FTP upload

  1. Upload the folder “ska-blocks” from the plugin zip file to your WordPress installations’ ../wp-content/plugins folder.
  2. Activate the plugin from WordPress admin dashboard -> Plugins.

سوالات متداول

How to use AI

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”.

Browser support

ska-blocks uses Tailwind 4 which supports the following browsers:
* Chrome 111 (released March 2023)
* Safari 16.4 (released March 2023)
* Firefox 128 (released July 2024)

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
5.0 /5 (1 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

17 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

60+

نگارش وردپرس

وردپرس 6.8+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 8.1+

نسخه ها

0 نسخه