-
Notifications
You must be signed in to change notification settings - Fork 5
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
Extend the AddCommand (or RegisterCommand) to add Gutenberg Blocks #26
Comments
@garretthyder Yes! Gutenburg is one of the milestones for the next major release. I have not figured it out yet how to architecture and design the framework the best way though. If you come with ideas, let me know! |
Sounds good, I'll use your plugin as a guide to start and as I make progress in my plugin we can collaborate on the command. |
@garretthyder if you review the studio's repositories, you will find that there are already a couple of handy add-ons your could use in your project. |
Thanks @amostajo greatly appreciated I'll dive in there |
Hi @amostajo following your lead with Simple Post Gallery plugin I was able to get a basic block working and just wanted to share a highlevel view on the pieces to hopefully lay the groundwork for a command.
I believe that's all that's needed for a basic block, and then maybe provide links to the handbook, etc. Thoughts? |
@garretthyder I think we need to rework Also, blocks use marionette and backbone, I would be great I we can figure it out a better way to process the two. For example, when using view, you can create vue assets that contain JS/HTML/CSS in one place, and node will make the separation. So before adding the commands in here, we need to define a better working workflow for blocks inside the framework. |
Awesome thanks @amostajo I'll let you lead there and feel free to ping and i'll be around to test and assist. |
I was wrong about the backbone/marionette, got confused with the WP media manader. Will work on adding this in Sunday's release. |
@garretthyder will reschedule this to next release since this feature needs changes on other components, I have not finish it. Still, release v1.0.9 needs to be shipped today. |
@garretthyder been looking further, and since blocks are based on react, I think the best thing moving forward would be to migrate from What do you think? |
I'm all for it @amostajo and agree moving to |
Hi @amostajo
Along with the ability to setup shortcode/widget stubs it would be awesome to do the same for Gutenberg Blocks.
I noted in your Post Gallery plugin that there's a Gutenberg Block so figured it might be straight-forward?
Speaking on this plugin - https://en-ca.wordpress.org/plugins/simple-post-gallery/
Thank you
The text was updated successfully, but these errors were encountered: