How to create pre-designed page layouts for Gutenberg?
Prior to the block editor, I would create pre-designed page layouts for my clients using the following method:
Prior to the block editor, I would create pre-designed page layouts for my clients using the following method:
Here is my code.
I was able to get the values to save, but now I’m running into issues unsetting the value when the data is removed from the control. I’ve tried the onRemove function as suggested in the documentation on Github here.
I wrote a specific block for a customer. It is working well. I fill the data. I save and when I look on the website, it is quite perfect. But, when I refresh the editor, I am receiving this error.
I’m building a block that shows a bunch of posts of a custom post type. This is the loop that prints them:
I have a block that references a custom post type named faq that has a taxonomy named faq_group. This block has one attribute and makes multiple getEntityRecords calls. One of the calls has an argument that depends on the previous one:
In Gutenberg, one can use the getEntityRecord selector to get the data of a term of a specific taxonomy by its term id:
Is it possible to implement Guttenberg editor on some custom frontend page like we can do tinyMCE using wp_editor()?
I’m trying to create a basic link control in my WordPress plugin, but I can’t get it to work properly. I ‘ve read the previous answers on here, but still having issues. I also checked out the block-editor component documentation on Github, but the example doesn’t go far enough to address my problem. Here is the code for my Attributes:
StackExchange Community,