Gutenberg richtext block vaildation failed
I have a problem with understanding richtext elements. I am trying to create form with customizable placeholder and label, but when I save and refresh page i get this error:
I have a problem with understanding richtext elements. I am trying to create form with customizable placeholder and label, but when I save and refresh page i get this error:
I’m not sure if I’m missing something here but when I console.log my attributes I am getting an empty object. Shouldn’t it show the default data of all my attributes. What I am doing wrong here.
I have this function in my theme’s functions.php file:
I’ve written the following custom block that allows a user to create a simple slider and add an image that is then wrapped inside a slider item element. I’ve opted to make this a single block rather than using nested blocks (e.g. a slider item block and parent slider) because I don’t want them wrapping in additional HTML when inside the block editor and instead want it to be a single block of images (like the gallery block).
I am building a block which has different layouts for mobile and desktop.
As far as I understand CSS media queries, they work when the viewport is resized.
How does wordpress generate the block ID pointed out in the screen shot below?
It appears that the latest gutenberg editor supports direct links to blocks added to a post as mentioned here. How do I get the block link? I need to extract it programmatically but it’s not saved in the post’s markup as I’ve discovered.
I am trying to set a Post’s default visibility to ‘Private’ when a user first creates the post. They should then have the ability to manually select ‘published’ from the sidebar dropdown once they are ready or the post has been reviewed.
I’m trying to wrap a Gutenberg block with a div with class x.
I have built two blocks for displaying a list of feature cards.