=== WebBiz Toolkit ===
Contributors: webbiztw, webbiz
Tags: gutenberg, text formatting, spoiler, blocks, blogging
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Essential toolkit for WordPress bloggers - text emphasis styles, spoiler masks, auto-spacing for CJK text, and interactive Q&A blocks.

== Description ==

WebBiz Toolkit is a Gutenberg editor extension designed specifically for bloggers, providing four powerful features:

= Features =

**1. Text Emphasis Styles (3 Types)**
Apply professional text emphasis effects with one click in the editor toolbar:
* Highlight - Blue left border + light blue background
* Warning - Red border box + light red background
* Quote - Orange underline

All styles are fully customizable - change colors, borders, and more from the settings page.

**2. Spoiler Masks (3 Styles)**
Hide text content that readers must click to reveal. Perfect for:
* Movie/TV show plot discussions
* Game walkthrough hints
* Puzzle answers
* Surprise content

Choose from blur, black bar, or dotted styles.

**3. Auto-Spacing for CJK Text**
Automatically add spaces between CJK characters (Chinese, Japanese, Korean) and English/numbers with one click, making your content more readable and professional.
Example: `Hello世界123` → `Hello 世界 123`

**4. Q&A Interactive Blocks (2 Styles)**
Create interactive question-and-answer content where answers are hidden by default and revealed when clicked.
Perfect for tutorials, FAQ pages, exam reviews, and educational content.

= Why Choose WebBiz Toolkit? =

* **Lightweight & Fast** - Only loads features you enable, won't slow down your site
* **Gutenberg Native** - 100% built with WordPress Block Editor APIs
* **CJK Optimized** - Designed with Chinese/Japanese/Korean typography in mind
* **No Coding Required** - Install and use instantly, intuitive interface
* **SEO Friendly** - Q&A blocks automatically generate FAQPage Schema markup

= Use Cases =

* **Bloggers** - Emphasize key points, hide spoilers, improve typography
* **Educators** - Create interactive quizzes and reveal answers
* **Review Sites** - Hide spoilers in movie/game reviews
* **Documentation** - Highlight warnings, tips, and important notes

== Installation ==

1. Go to "Plugins → Add New" in your WordPress admin
2. Search for "WebBiz Toolkit"
3. Click "Install Now" then "Activate"
4. Go to "Settings → WebBiz Toolkit" to enable the features you need

Or install manually:
1. Download the plugin ZIP file
2. Go to "Plugins → Add New → Upload Plugin" in your WordPress admin
3. Select the ZIP file and install
4. Activate the plugin

== Frequently Asked Questions ==

= What WordPress versions are supported? =

WebBiz Toolkit requires WordPress 6.0 or higher and the Gutenberg block editor.

= Will this slow down my website? =

No. WebBiz Toolkit uses a modular design that only loads the features you enable. Frontend CSS is optimized and minimal.

= Can I use multiple emphasis styles together? =

Yes! You can mix different emphasis styles within the same text.

= Does Spoiler work on mobile devices? =

Yes, the Spoiler feature fully supports touch interactions and works perfectly on phones and tablets.

= Will auto-spacing change my original content? =

Yes, the auto-spacing feature modifies block content directly. We recommend backing up important content before using this feature.

= Do Q&A blocks support SEO structured data? =

Yes! WebBiz Toolkit automatically generates FAQPage Schema JSON-LD structured data for Q&A blocks, helping with SEO optimization.


== Screenshots ==

1. Editor toolbar with emphasis, spoiler, and auto-spacing buttons
2. Spoiler mask effect on the frontend (blur style)
3. Text emphasis and spoiler styles in the editor
4. Frontend: spoiler mask and Q&A block
5. Settings page with customizable emphasis styles and live preview
6. Q&A interactive block with click-to-reveal answer on the frontend
7. Frontend: text emphasis styles (highlight, warning, underline) with all features

== Changelog ==

= 1.0.2 =
* 新增 Q&A「簡約」與「卡片」兩種樣式的客製設定。
* Q&A 樣式可調整框線顏色、粗細、圓角、文字顏色、標籤顏色、背景色與字體大小。
* 修正劇透遮罩的鍵盤操作與輔助閱讀狀態，讓展開與收合狀態正確輸出。
* 修正劇透遮罩在鍵盤焦點、減少動態效果與列印時的樣式套用。
* 中英文自動空格會略過程式碼區塊、鍵盤輸入範例、腳本、樣式與文字輸入區，避免改動不該處理的內容。
* 前台樣式改為依啟用的功能載入，減少不必要的 CSS。

= 1.0.1 =
* 修正文字強調樣式未在前台顯示的問題。

= 1.0.0 =
* 首次發佈。
* 新增 3 種可自訂的文字強調樣式。
* 新增劇透遮罩功能，提供模糊、黑條與點點 3 種樣式。
* 新增中英文自動空格功能。
* 新增互動問答區塊，提供 2 種樣式。
* 新增 FAQPage Schema 結構化資料支援。
* 新增完整設定頁面與即時預覽。

== Upgrade Notice ==

= 1.0.2 =
新增 Q&A 樣式客製設定，並改善劇透遮罩、中英文自動空格與前台樣式載入方式。

= 1.0.0 =
首次發佈 WebBiz Toolkit。
