Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the httpMethod in ServerSideRender #89

Merged
merged 5 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Changelog ##

### 1.3.1 - 2021-08-26 ###

Fix for fields with long strings

* Fix a regression that caused editor errors for fields with long strings. [PR 89](https://github.com/studiopress/genesis-custom-blocks/pull/89)
* Update e2e tests for WP 5.8. [PR 87](https://github.com/studiopress/genesis-custom-blocks/pull/87)

### 1.3.0 - 2021-07-20 ###

InnerBlocks, File field, WP 5.8 compatibility
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: gutenberg, blocks, block editor, fields, template
Requires at least: 5.4
Tested up to: 5.8
Requires PHP: 5.6
Stable tag: 1.3.0
Stable tag: 1.3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl

Expand Down
2 changes: 1 addition & 1 deletion genesis-custom-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Plugin Name: Genesis Custom Blocks
* Description: The easy way to build custom blocks for Gutenberg.
* Version: 1.3.0
* Version: 1.3.1
* Author: Genesis Custom Blocks
* Author URI: https://studiopress.com
* License: GPL2
Expand Down
2 changes: 1 addition & 1 deletion js/src/block-editor/components/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Edit = ( { blockProps, block } ) => {
block={ `genesis-custom-blocks/${ block.name }` }
attributes={ attributes }
className="genesis-custom-blocks-editor__ssr"
urlQueryArgs={ { innerContent: '<span>Here is something</span>' } }
httpMethod="POST"
/>
</>
) }
Expand Down
134 changes: 43 additions & 91 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "genesis-custom-blocks",
"title": "Genesis Custom Blocks",
"version": "1.3.0",
"version": "1.3.1",
"description": "WordPress plugin with a simple templating system for building custom blocks.",
"author": "Genesis Custom Blocks",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -41,12 +41,12 @@
"@wordpress/dependency-extraction-webpack-plugin": "3.1.3",
"@wordpress/dom": "3.0.0",
"@wordpress/dom-ready": "3.0.0",
"@wordpress/e2e-test-utils": "5.4.1",
"@wordpress/e2e-test-utils": "5.1.4",
"@wordpress/e2e-tests": "2.1.6",
"@wordpress/edit-post": "4.0.0",
"@wordpress/editor": "10.0.0",
"@wordpress/element": "3.0.0",
"@wordpress/env": "4.1.0",
"@wordpress/env": "4.0.4",
"@wordpress/eslint-plugin": "9.0.5",
"@wordpress/hooks": "3.0.0",
"@wordpress/html-entities": "3.0.0",
Expand Down