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

edit.js file doesn't seem to update the attributes. #1

Open
anargiris opened this issue Mar 14, 2023 · 2 comments
Open

edit.js file doesn't seem to update the attributes. #1

anargiris opened this issue Mar 14, 2023 · 2 comments

Comments

@anargiris
Copy link

I've started using your blocks and I am amazed that you figured out how to integrate Tailwind into them.

I've used your example and came to realize that if I use the "RichText" component to change some attribute values, the values are not stored when I hit "Update".

Have you experienced any similar issue?

@dgwyer
Copy link
Owner

dgwyer commented Mar 14, 2023

Thanks for trying it out!

I'd probably use my new(ish) utility that is a wrapper around the core @wordpress/create-block script to create new blocks with Tailwind support.

https://github.com/dgwyer/create-wp-block

Let me know via that repo if you have any issues. Hope it helps. 🙂

@anargiris
Copy link
Author

I'll make sure to try it out.

Thanks for your hard work.

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

No branches or pull requests

2 participants