[WordPress] 外掛分享: ska-blocks – TailwindCSS for Block Editor

WordPress 外掛 ska-blocks – TailwindCSS for Block Editor 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「ska-blocks – TailwindCSS for Block Editor」是 2025-03-21 上架。
  • 目前有 50 個安裝啟用數。
  • 上一次更新是 2026-01-21,距離現在已有 36 天。
  • 外掛最低要求 WordPress 6.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

skadev |

外掛標籤

AI | fse | blocks | tailwind | gutenberg |

內容簡介

總結:
透過使用 Tailwind 類別及低階區塊,在區塊編輯器中實現任何設計。只要輸入 Tailwind 類別,外掛就會編譯其 CSS 並加載到區塊編輯器和前端,避免浪費。可將 Tailwind 主題和屬性全域加載,還可以選擇性包含 Tailwind 的預置樣式。

問題與答案:
1. 如何在區塊編輯器中實現任何設計?
- 透過使用 Tailwind 類別和低階區塊。

2. 何時會將 CSS 編譯並載入到區塊編輯器和前端?
- 當輸入 Tailwind 類別時。

3. 如何避免載入未使用的類別?
- 只有使用在頁面上的類別會載入,全域僅加載 Tailwind 主題和屬性。

4. 如何將 Tailwind HTML 轉換為區塊?
- 使用「Tailwind」區塊,可以從網路找到 HTML 或使用人工智慧產生。

5. 該外掛有哪些不同種類的區塊?
- 包括 Text、Element、Image、Gallery 等區塊。

6. 如何使用 AI 連接到外部服務?
- 這個外掛在使用 AI 時會連接到 API 端點,需輸入 API 金鑰並選擇與「Tailwind」區塊的 AI 功能互動。當按下「生成」時,會發送請求並包括您的文字提示和「Tailwind」區塊的內容。

7. 由誰提供這項服務?
- 由「OpenRouter」提供,並提供使用條款和隱私政策。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「ska-blocks – TailwindCSS for Block Editor」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2.6 | 1.2.7 | 1.2.9 | trunk | 1.2.10 |

延伸相關外掛(你可能也想知道)

  • WindPress – Tailwind CSS integration for WordPress 》**總結:** , WindPress 是唯一針對 WordPress 開發的 Tailwind CSS v4 整合外掛,讓您能在 WordPress 生態系統中充分發揮 Tailwind CSS v4 的強大功能。, ,...。
  • Draft – Tailwind CSS for WordPress. 》在區塊編輯器中輕鬆地添加具有狀態和響應式的 Tailwind CSS 實用程式類別外掛。, 免費外掛功能:, , 配置 Tailwind, 添加自訂 CSS(包括能力 @apply Tailwind...。
  • TailPress – Tailwind for WordPress 》Tailwind CSS 是建立基於區塊的 WordPress 網站的絕佳夥伴。不幸的是,由於它需要使用 Node.js 編譯才能投入實際生產環境,因此在 WordPress 中添加 Tailwind...。
  • Taily 》總結:透過在WordPress中完全動態地添加Tailwind框架,您可以使用這個強大的框架設計和風格化您網站的所有部分。這個外掛也是一個新的且適合以更優化和快速的...。
  • Blaze CSS 》現在有一些建構工具像是PurgeCSS被像TailwindCSS這樣的框架所使用,移除已建立的 CSS 檔案中所有未使用的 CSS 類別變得非常重要。, 然而,這些工具只能在原始...。
  • Winden — Tailwind CSS Compiler with Full WordPress Integration 》總結文案:Winden 將 Tailwind CSS v4 的完整功能帶到WordPress中。直接在編輯器中編寫效用類別,並即時編譯。, , 1. Winden 外掛為WordPress帶來了Tailwind ...。
  • CompileKit – Tailwind CSS Compiler 》總結:這個 WordPress 外掛可以直接將Tailwind CSS Standalone CLI整合到WordPress中。使用者可以選擇在每次頁面重載時自動編譯或手動編譯。同時可以配置輸入...。
  • Aspect Blocks 》總結:Aspect Blocks 是一個功能強大的 WordPress 外掛,專為 Gutenberg 編輯器設計,旨在使內容創建和設計輕鬆無憂。使用 Tailwind CSS 構建,提供高度可定...。
  • Add Bootstrap and Tailwind Css 》<!DOCTYPE html>, <html>, <body>, , <h2>WordPress Bootstrap 與 Tailwind CSS 整合外掛</h2>, , <h3>總結:</h3&g...。
  • MR.Utils 》這個外掛可以輕易地在區塊編輯器介面中使用 Mr.Utils 的前端工具包,不需要任何程式知識、類別或函數。, 您可以將父層區塊(例如列或群組)轉換為元件,如搜...。

文章
Filter
Mastodon