Skip to content

bobbingwide/sb-post-edit-block

Repository files navigation

Post Edit block

banner

Post edit block to allow direct editing of the post

Description

A single block plugin to display a link to edit the post. The link is only displayed to logged in users.

Installation

  1. Upload the plugin files to the /wp-content/plugins/sb-post-edit-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress

Screenshots

  1. Post edit block and default settings

Upgrade Notice

0.3.2

Update for support for PHP 8.1, 8.2 and 8.3

0.3.1

Tested with Gutenberg 11.4.1

0.3.0

Upgrade for an internationalized version.

0.2.0

Upgrade for text align control and improved color and font settings.

0.1.1

Update for a workaround to Gutenberg issue 33401.

0.1.0

Update for an improved version that's selectable.

0.0.0

First version to replace any [post-edit] shortcodes in FSE themes

Changelog

0.3.2

  • Changed: Support PHP 8.1, 8.2 and 8.3 #6
  • Changed: Updated wp-scripts and rebuild #6
  • Tested: With WordPress 6.4.1 and WordPress Multisite
  • Tested: With Gutenberg 17.1.4
  • Tested: With PHP 8.0, 8.1, 8.2 and 8.3
  • Tested: With PHPUnit 9.6

0.3.1

  • Changed: Ensures default link text of (Edit) is localized #5
  • Changed: Add repository, correct license, update version #5
  • Tested: With WordPress 5.8 and WordPress Multi Site
  • Tested: With Gutenberg 11.4.1
  • Tested: With PHP 8.0

0.3.0

  • Changed: Internationalized #5
  • Tested: With WordPress 5.8 and WordPress Multi Site
  • Tested: With Gutenberg 11.2.1
  • Tested: With PHP 8.0

0.2.0

  • Changed: Change block title to 'Post Edit' #1
  • Changed: Remove unnecessary import of ServerSideRender #1
  • Changed: Disable Text colour control. #3
  • Changed: Don't use get_block_wrapper_attributes for link #3
  • Tested: With Gutenberg 11.1.0
  • Tested: With WordPress 5.8 and WordPress Multi Site

0.1.1

  • Changed: Implement workaround to Gutenberg issue 33401 #2
  • Tested: With Gutenberg 11.0.0
  • Tested: With WordPress 5.8-RC2

0.1.0

  • Added: Add attributes and supports to block.json #1
  • Added: Support Link text field and alignment in the editor #2
  • Changed: Implement SSR rendering to match editor #2
  • Tested: With WordPress 5.7.2 and WordPress Multi Site
  • Tested: With Gutenberg 10.8.0
  • Tested: With PHP 8.0

0.0.0

  • Added: First version of the server side rendered block,#1
  • Tested: With WordPress 5.7.1 and WordPress Multi Site
  • Tested: With Gutenberg 10.6.0-rc.1
  • Tested: With PHP 8.0

About

Post edit block to allow direct editing of the post

Resources

License

Stars

Watchers

Forks

Packages

No packages published