=== Paragraph Block Converter === Contributors: gigadesignapp Tags: block editor, gutenberg, blocks, patterns, converter Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Quickly convert paragraph, heading, list, and table blocks into other block types or apply pattern styles while preserving your content. == Description == Paragraph Block Converter helps you convert blocks in the block editor (Gutenberg) in the following ways: = Supported block types = * **Paragraph** – convert to other block types (Heading, List, Quote, etc.) or apply a pattern style * **Heading** – apply a pattern style while keeping the heading text * **List** (ordered and unordered) – apply a pattern style while keeping all list items (including nested lists) * **Table** – apply a pattern style while keeping all cell data * **List Item** – automatically detects the parent list and operates on the whole list = How it works = * **Convert to other block types** (Paragraph only → Heading, List, Quote, Pullquote, Preformatted, Verse, Code) * **Apply a pattern style** – picks up colors, background, font size, border, CSS class, and other visual attributes from a pattern while **preserving your original text / data** * Available patterns: theme patterns and user patterns (synced patterns / `wp_block`) You can convert from the sidebar panel and the toolbar popup. After converting, you can restore the previous block using **Undo conversion**. == Installation == 1. Go to **Plugins → Add New → Upload Plugin** and upload the ZIP file. 2. Click **Activate**. 3. Open a post or page in the block editor, select a paragraph / heading / list / table block, and convert it from the sidebar panel or the toolbar. == Frequently Asked Questions == = Which patterns are shown? = Theme patterns (source = theme) and user patterns / synced patterns (`wp_block` post type) are listed. Core and third-party plugin patterns are excluded to keep the list focused. = Can I undo a conversion? = Yes. After converting, an **Undo conversion** button appears in both the toolbar and the sidebar panel. = Does applying a pattern overwrite my text? = No. When you apply a pattern, only the visual style (colors, font size, borders, CSS class, etc.) is transferred. Your original text, list items, or table data are preserved. == Screenshots == 1. Sidebar panel – convert to another block type or apply a pattern style. 2. Toolbar popup – quick access to patterns and block-type conversion. == Changelog == = 1.0.0 = * Initial release – supports paragraph, heading, list, and table blocks. == Upgrade Notice == = 1.0.0 = * Initial release.