Skip to content

Commit

Permalink
Chore: Update Block Support (#1759)
Browse files Browse the repository at this point in the history
  • Loading branch information
theodesp authored Jan 31, 2024
1 parent 6fad7d0 commit c6dedc0
Show file tree
Hide file tree
Showing 3 changed files with 649 additions and 403 deletions.
8 changes: 4 additions & 4 deletions examples/next/block-support/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@faustwp/block-support-example",
"private": true,
"version": "0.1.0",
"version": "0.2.0",
"scripts": {
"predev": "faust generatePossibleTypes && faust generateGlobalStylesheet",
"prebuild": "faust generatePossibleTypes && faust generateGlobalStylesheet",
Expand All @@ -15,8 +15,6 @@
"@faustwp/blocks": "2.0.0",
"@faustwp/cli": "^2.0.0",
"@faustwp/core": "^2.1.2",
"@wordpress/base-styles": "^4.38.0",
"@wordpress/block-library": "^8.24.0",
"classnames": "^2.3.1",
"graphql": "^16.8.1",
"next": "^14.0.3",
Expand All @@ -26,7 +24,9 @@
},
"devDependencies": {
"@wordpress/scripts": "26.18.0",
"@faustwp/block-editor-utils": "0.1.0"
"@faustwp/block-editor-utils": "0.1.0",
"@wordpress/base-styles": "^4.41.0",
"@wordpress/block-library": "^8.27.0"
},
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion examples/next/block-support/wp-templates/front-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Component.query = gql`
page(id: $databaseId, idType: DATABASE_ID, asPreview: $asPreview) {
title
content
editorBlocks(flat: false) {
editorBlocks {
name
__typename
renderedHtml
Expand Down
Loading

0 comments on commit c6dedc0

Please sign in to comment.