Vertikal Fast Frontend Microeditor

Description

Vertikal Fast Frontend Microeditor lets authorized users highlight a word, phrase or sentence in a post and edit its whole containing text block (paragraph, heading, list item, quote …) in a TinyMCE modal on the front end. The block’s inline HTML (bold, italic, links) is kept. The originally highlighted phrase is shown pale yellow in the editor; that highlight uses the CSS Custom Highlight API and is never saved.

Workflow:

  1. Select part of a paragraph, heading or other text block on a single post or page. Triple-click works too.
  2. The block that will be edited gets a light-grey background and a small Edit button appears.
  3. Edit the block in the modal (Visual or Code tab) and click Save text.
  4. The post is saved (with a revision), the page reloads, scrolls to the changed text and highlights it for a few seconds.

Only the edited block changes in the stored content: everything else, including Gutenberg block delimiters, stays byte-identical. In block content, a paragraph or heading split into several elements becomes several proper blocks, and a list item can become several list items.

Screenshots

Installation

  1. Upload the microedit folder to /wp-content/plugins/ and activate it.
  2. Activation grants the use_microedit capability to Administrators and Editors. Grant it to other roles with a role editor if needed. Users also need ordinary permission to edit the post.

FAQ

Which post types are supported?

All post types that support the editor. Use the microedit_post_types filter to limit them.

Why is there no Edit button for some selections?

The selection must be found, together with at least 12 characters of surrounding text, in exactly one block of the stored (unfiltered) post content. Text generated by shortcodes or filters, very short selections in short blocks, and ambiguous duplicates are deliberately not editable. Set LOG_DEBUG to true in js/microedit.js to see the reason in the browser console.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Vertikal Fast Frontend Microeditor” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First WordPress version, ported from the Drupal module Microedit.