Core Concepts

Click-to-edit candidate model

rich-html-editor identifies candidate content elements such as:

These elements become editable when the user clicks or focuses them.

Editing is interaction-driven, not attribute-driven.

Internal element tracking

During editing, the editor assigns internal data-rhe-id attributes to elements.

These IDs are used for:

All editor-added attributes are removed when exporting HTML.

Non-goals

Future strict editing

A future strict-editing mode may require authors to explicitly mark editable regions.

This behavior is not enabled in the current release.