Hey @devabdullah,
To add a settings option to your block, you’ll need to extend the block’s functionality through JavaScript. This will involve creating a new component for the settings page and registering it with the block.
Unfortunately, this process is not covered in the tutorial you’re following. However, the WordPress Block Editor Handbook provides a more detailed guide on extending blocks, which you may find helpful. You can access it here: https://developer.ww.wp.xz.cn/block-editor/getting-started/fundamentals/javascript-in-the-block-editor/
Also, if you are developing a block for WooCommerce, you may follow the guide shared here:
We also recommend asking development questions on the #developers channel of the WooCommerce Community Slack, or in the WooCommerce Advanced Facebook group. Many of our developers hang out there and will be able to offer insights into your question.
I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.
Hello @shameemreza
Thank you so much for your reply
Is there any way can find WordPress dev instead of Slack and Facebook. What about Telegram?
Zee
(@doublezed2)
Hello devabdullah
Thank you for your reply.
WordPress has a vast and active community across various platforms and forums. While I personally haven’t been a member of groups on newer tools such as Telegram, with the widespread use of these platforms, there are likely dedicated groups for WordPress professionals and enthusiasts alike on there.
If you’re open to it, a good starting point might be to join WordPress-focused communities on Facebook or Slack, where you can then inquire with community members about their presence on Telegram.
If there’s anything else we can help you with, please let us know. 🙂