=== Wareko Header Auto Accordion Admin ===
Contributors: wareko
Tags: accordion, editor, admin, headings, content, ui, collapse
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wareko-header-auto-accordion-admin

= Short Description =
Adds accordion-like interactive behavior to H2 and H3 headings inside the WordPress Classic Editor (admin side).

== Description ==
This plugin extends the editing experience in the WordPress admin area by enabling accordion-style behavior directly inside the Classic Editor.

Unlike frontend accordion plugins that affect published content, this plugin operates within the editor itself, helping content creators structure and preview hierarchical sections more intuitively while editing.

It allows H2 and H3 headings inside the Classic Editor to behave like collapsible sections, improving readability and organization of long-form content during the writing process.

This feature is especially useful when working with large articles, documentation, or structured content where visual hierarchy is important while editing.

No external libraries are required.

== Features ==
- Accordion-style interaction for H2 headings inside Classic Editor
- Nested toggle behavior for H3 headings within H2 sections
- Improves content structure visibility during editing
- Works in WordPress Classic Editor (admin screen)
- Lightweight vanilla JavaScript implementation
- No external dependencies
- Does not affect frontend rendering of published content
- Safe to use alongside frontend accordion plugins

== Scope ==
This plugin affects only the WordPress admin editor interface.
It does not modify or inject behavior into the public-facing site output.

== Installation ==
1. Upload the plugin folder to /wp-content/plugins/
2. Activate the plugin from the WordPress admin dashboard
3. Open a post or page using the Classic Editor
4. Use H2 and H3 headings and interact with them inside the editor

== Frequently Asked Questions ==

= Does this affect the public website? =
No. This plugin only works inside the WordPress admin Classic Editor and does not change frontend rendering.

= Does it work with Gutenberg? =
No. It is designed specifically for the Classic Editor experience.

= Does it require jQuery or external libraries? =
No. It uses pure JavaScript.

= Can this be used together with frontend accordion plugins? =
Yes. Since this plugin only affects the editor, it does not conflict with frontend implementations.

== Changelog ==

= 2.0.0 =
- Initial admin-focused release
- Added H2 accordion behavior inside Classic Editor
- Added H3 nested toggle behavior inside editor context
- Separated behavior from frontend rendering logic
- Improved usability for long-form content editing
- No external dependencies

== Upgrade Notice ==

= 2.0.0 =
Initial release of the Classic Editor admin-side accordion enhancement plugin.