

Selected fragment of a post prompts an action popup.
Clean Selection can be enabled for public post types, post content, and individual comments. It includes three workflows:
The plugin does not restyle post or comment content. Its popup can use the accessible built-in appearance or expose stable classes for theme-controlled styling.
Default selectors cover common classic and block themes. Sites with custom markup can configure content, comment, and comment-textarea selectors on the settings page.
When Theme-controlled classes is selected, use .clean-selection-wp-popup and its __preview, __actions, and __button elements in theme CSS.
The operational Clean Selection core is minified with Terser. Its complete readable source is included beside it as assets/js/cleanselection.js. Project source and build tooling are published at https://github.com/cleanselection/cleanselection.