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

Wordpress custom block type, that will manage list of string #16703

Closed
vitali-yablonski opened this issue Jul 22, 2019 · 2 comments
Closed

Wordpress custom block type, that will manage list of string #16703

vitali-yablonski opened this issue Jul 22, 2019 · 2 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@vitali-yablonski
Copy link

I need create custom block type, that will manage list of strings or urls. Can you recommend tutorial or example? Thanks.

@swissspidy swissspidy added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Jul 22, 2019
@derweili
Copy link
Contributor

Take a look at this example:
https://gist.github.com/derweili/bb3486f7abf7862b85fbbf01bb1eb52f

You need an attribute of the type array to manage a list of strings.

Some tutorials can be found in the Gutenberg handbook:
https://developer.wordpress.org/block-editor/tutorials/

@youknowriad
Copy link
Contributor

Looks like there's already an answer.

For general help requests, please post in the support forum at https://wordpress.org/support/forum/how-to-and-troubleshooting/.

Technical help requests have their own section of the support forum at https://wordpress.org/support/forum/wp-advanced/.

You may also ask for technical support at https://wordpress.stackexchange.com/.

Thanks for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

4 participants