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

Add starter for new Blocks, like Shortcodes #58

Open
cliffordp opened this issue Jan 28, 2020 · 1 comment
Open

Add starter for new Blocks, like Shortcodes #58

cliffordp opened this issue Jan 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cliffordp
Copy link
Owner

cliffordp commented Jan 28, 2020

Make it as easy to create new Blocks as it is to create new Shortcodes, such as https://github.com/cliffordp/cliff-wp-plugin-boilerplate/blob/1a6c0f6dfcba5bc1ddf2773ad72c365df51d1d7b/src/shortcodes/class-tk_request.php

Idea (but maybe not ideal): Convert all of our shortcode's arguments to become Blocks (with fields) by adding custom parameters that create both a shortcode and a block.

Related: https://make.wordpress.org/core/2020/03/02/general-block-editor-api-updates/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant