=== Mapoza Editor Control ===
Contributors: piyush3891
Tags: gutenberg, block editor, classic editor, post types, editor
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Control the block editor and classic editor per post type with a simple settings page.

== Description ==

Control the block editor and classic editor per post type with a simple settings page.

With this plugin you can:

* Disable the block editor for selected post types.
* Disable the classic editor for selected post types.
* Lock the chosen editor mode when using the Classic Editor plugin.
* Prevent conflicting settings for the same post type.
* Reset all settings from the admin page.

This plugin is useful for agencies, developers, and site owners who need a cleaner editing experience across custom post types.

== Features ==

* Simple settings page under **Settings > Editor Control**.
* Works with public and custom post types that are visible in the admin.
* Compatible with the Classic Editor plugin when installed.
* Prevents the same post type from being forced into both modes.
* Safe defaults with input sanitization and output escaping.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/mapoza-editor-control` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Settings > Editor Control**.
4. Select the post types you want to configure.
5. Save your changes.

== Frequently Asked Questions ==

= Does this plugin require the Classic Editor plugin? =

No. The block editor controls work without it.

The classic-editor-specific rules are mainly useful if the Classic Editor plugin is active or if another plugin enables classic editing.

= Can I assign the same post type to both lists? =

No. If the same post type is selected in both lists, the plugin removes it from the block-editor-disabled list to avoid conflicts.

= Does this work with custom post types? =

Yes, as long as the post type is visible in the WordPress admin.

== Screenshots ==

1. Settings page showing post type checkboxes for block editor and classic editor control.

== Changelog ==

= 1.0.0 =
* Initial release.
* Disable block editor per post type.
* Disable classic editor per post type.
* Optional editor mode lock.
* Reset settings button.

= 1.0.1 =
* small text change


== Upgrade Notice ==

= 1.0.0 =
Initial release.
