=== The Front-End Editor ===
Contributors: jamie
Tags: frontend editing, inline editor, interactivity api, block editor
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simple front-end text editing for your team. Click any text block to edit it — block markup is preserved.

== Description ==

The Front-end Editor lets your team edit page and post content directly from the front end of your WordPress site. No need to open the block editor — just click any text and start typing.

Built on the WordPress Interactivity API with no build step required.

**Features:**

* Click any paragraph or heading to edit it inline
* Block markup is fully preserved on save
* Edits are recorded as native WordPress block notes
* Admin settings to choose which block types are editable
* Option to restrict roles to frontend-only editing (no wp-admin access)
* Secure — only users with edit permissions see the editing UI

== Installation ==

1. Upload the `frontend-inline-editor` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Go to Settings > Frontend Editor to configure editable blocks and restricted roles

== Frequently Asked Questions ==

= Does this work with any theme? =

Yes. The plugin uses the `render_block` filter and works with any block theme.

= Does it preserve block markup? =

Yes. Edits are saved per-block via a custom REST endpoint that parses and serializes blocks server-side.

= What blocks can be edited? =

By default, paragraphs and headings. You can configure this in Settings > Frontend Editor.

== Changelog ==

= 1.0.0 =
* Initial release
