=== Dits Blocks for Block Editor ===
Tags: gutenberg, blocks, block editor, slider, accordion
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A collection of flexible Gutenberg blocks for building content, layouts, interactive sections, and marketing-focused pages.

== Description ==

Dits Blocks for Block Editor extends the WordPress block editor with a practical collection of custom Gutenberg blocks for creating richer page layouts without relying on a separate page builder.

The plugin includes blocks for structured content, interactive elements, promotional sections, media, navigation, and reusable page layouts. It also adds extra options to the native WordPress Button block.

= Included Blocks =

* Accordion – Create expandable content sections for FAQs and structured information.
* Custom Columns – Build flexible multi-column layouts with nested content.
* Image with Text – Combine images and text in structured content sections.
* YouTube Video Embed – Add and configure YouTube video content.
* Collapsible Paragraph – Display expandable text for longer or optional content.
* Call to Action – Create focused CTA sections with content and actions.
* Customer Testimonials – Display customer reviews and testimonial content.
* Fly-in Promo – Add promotional content that appears as an interactive fly-in element.
* Full Width Background – Create full-width sections with configurable background content.
* Hero Image Banner – Build prominent hero sections with imagery and content.
* Icon List – Create lists with configurable icons.
* Image with Mask – Display images with custom visual masking.
* Highlighted Info Box – Highlight important information in a dedicated content box.
* Slider – Create configurable slide-based content sections.
* Table of Contents – Generate structured navigation for page content.

Some blocks use internal nested components to provide their editing experience. These components are part of their parent blocks and are not intended to be inserted separately.

= Core Button Enhancements =

Dits Blocks for Block Editor also extends the native WordPress Button block with additional customization options while keeping the standard Gutenberg editing workflow.

= Built for the Block Editor =

The plugin works directly inside the WordPress block editor and uses native Gutenberg concepts such as nested blocks and block controls.

No separate page builder is required.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress Plugins screen.
2. Activate Dits Blocks for Block Editor through the **Plugins** screen in WordPress.
3. Open the WordPress block editor.
4. Add a block and look for the **Dits Blocks** category.
5. Select the block you want to use and configure it from the editor controls.

== Frequently Asked Questions ==

= Does Dits Blocks for Block Editor require a page builder? =

No. Dits Blocks for Block Editor works directly with the native WordPress block editor.

= Are all registered blocks available directly in the block inserter? =

No. Some registered blocks are internal components used by parent blocks such as Accordion, Custom Columns, Image with Text, and Slider. They are not intended to be used as standalone blocks.

= Does the plugin modify the standard WordPress Button block? =

The plugin adds additional customization options to the native Button block while retaining the standard Gutenberg block workflow.

= Where can I find the blocks? =

Open the block inserter in the WordPress editor and look for the **Dits Blocks** category.

== Screenshots ==

1. Dits Blocks for Block Editor blocks available in the WordPress block editor.
2. Example of block settings and customization controls.
3. Example page sections created with Dits Blocks for Block Editor.

== Third-Party Libraries ==

Font Awesome Free 6.7.2 is bundled locally for icon rendering.
Font Awesome Free is licensed under CC BY 4.0 (icons), SIL OFL 1.1 (fonts), and MIT (code).

== Changelog ==

= 1.0.5 =

* Initial public release of Dits Blocks for Block Editor.
* Includes the main collection of Gutenberg blocks and nested block components.
* Includes additional customization options for the native WordPress Button block.
* Loads Font Awesome locally from the plugin files.

== Upgrade Notice ==

= 1.0.5 =

Initial public release.