Shed Editor Assist

無料

Gutenberg block editor visual aids: layout borders, block color coding, grab markers, and Backspace/Delete key protection.

対応: WordPress 6.0  / PHP 8.1以上

更新履歴

v1.0.2
  • 🔧 Fixed: grab markers restored to all block types (heading, paragraph, list, image, button). For WordPress 7.0+ where content blocks render as the element itself (h1, p, etc.), markers are now injected into the parent container to prevent post content corruption. Marker positions update on every editor state change to stay accurate after block moves.
  • 🔧 Fixed: Settings label updated to "Backspace / Delete Protection" to reflect that both keys are protected.
v1.0.1
  • 🔧 Fixed: grab markers for heading, paragraph, list, image, and button blocks were being saved into post content in WordPress 7.0 (iframed editor now places data-type on content elements). Markers restricted to layout blocks only as a temporary fix.
v1.0.0
  • First public release on WordPress.org.
  • Improved: border_style input sanitization (wp_unslash added).
v0.2.9
  • 🔧 Fixed: "/" slash inserter stops responding in paragraph blocks; the grab marker span was breaking WP's editing context. The marker is now temporarily removed while a paragraph is selected (via wp.data.subscribe) and restored when focus moves away.
  • 🔧 Fixed: isDragging flag prevents marker injection during an active drag, avoiding DOM mutations that could interrupt pointer events.
  • 🔧 Fixed: :scope > .shedea-marker check prevents duplicate markers on nested blocks (columns/groups).
v0.2.8
  • 🔧 Fixed: grab marker no longer intercepts clicks intended for block content; a 5 px drag threshold now distinguishes a click (selects the block) from a drag (moves the block).
v0.2.7
  • 🔧 Fixed: typing "/" to open the slash block inserter was closing immediately due to marker injection modifying the focused block's DOM.
v0.2.6
  • Changed: grab marker for blocks nested inside columns/groups is now positioned at the top-left above the block.
v0.2.5
  • 🔧 Fixed: grab marker now stays visible for 350 ms after leaving the block.
  • 🔧 Fixed: Backspace protection no longer fires on iframed editor false-positives.
v0.2.4
  • 🔧 Fixed: Backspace blocked in paragraphs inside columns.
  • 🔧 Fixed: text editing disabled during drag.
v0.2.3
  • Changed: grab marker now shows only on block hover.
v0.2.2
  • Changed: drop indicator line now animates from center outward.
v0.2.1
  • 🔧 Fixed: grab marker positioned correctly for blocks nested inside columns or groups.
v0.2.0
  • Changed: drag now uses wp.data dispatch for cross-root block moves.
  • Changed: drop indicator changed from block highlight to top/bottom line.
v0.1.0
  • Initial release.