-
Notifications
You must be signed in to change notification settings - Fork 137
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
Blocks not showing up in Wordpress editor #1880
Comments
Hi, I have the same issue on the same versions.
Seems like |
cc @josephfusco |
Hey @jaredcbaum I was able to reproduce but it does not make sense. I tried to load a block using the https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/ and while I was having it loaded together with the blocks that I register using blockset command the blocks were loaded correctly: As long as I have a dummy block there loaded the blocks load correctly. @josephfusco any ideas why? |
Hi @theodesp my experience is that since WordPress core 6.5, I had to apply this dirty tweak #1706 (comment) to be able to see custom blocks generated via @jaredcbaum worth trying if this helps you to see blocks again in WP admin as temporary workaround. |
Hey @jan-clockworkwp. Indeed, we remove any php files before uploading to WordPress because of security concerns because we upload files into the wp-uploads folder since some providers like WP Engine have filters that block this operation while unzipping php files. |
Hey @theodesp, thanks for the heads up on the reason why. It makes sense. My question is, what can we do about it? The problem of not seeing the custom block within the Gutenberg editor still persists if |
Hey @jan-clockworkwp sorry for the late response. We are currently looking at some new relevant updates committed in WordPress develop regarding the optional |
@jan-clockworkwp @jaredcbaum the latest plugin update @faustwp/[email protected] version contains a fix for this issue. I'm closing this ticket but feel free to comment back if you still any problems. |
@theodesp Perfect, sounds great. I have tried the updated package version 1.3.2 on WP Core v6.5.5, and indeed, custom blocks are now working in WP admin even if the Note: Just FYI, if someone tries to test it the way I did initially by renaming |
Description
I took your blocks example and hooked it up to my site, but I'm unable to see blocks show up in the Gutenberg editor after running
faust blockset
. I am hosting on Kinsta and runningPHP Version 8.2
andWordpress Version 6.5.2
Steps to reproduce
Additional context
Plugins installed
WPGraphQL Version 1.23.0
WPGraphQL for ACF Version 2.2.0
Advanced Custom Fields Version 6.2.9
Faust.js™ Version 1.2.3
@faustwp/core Version
3.0.1
@faustwp/cli Version
3.0.1
FaustWP Plugin Version
1.2.3
WordPress Version
6.5.2
Additional environment details
Output of
npm run blockset
command:Please confirm that you have searched existing issues in the repo.
The text was updated successfully, but these errors were encountered: