Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
You forgot to declare the attributes: registerPlugin( ‘page-layout-plugin’, { icon: ‘smiley’, attributes: { ‘showSidebarAttribute’: {‘type’: ‘boolean’, ‘default’: true}, // <– and maybe others }, render: ( props ) => { You can drop the quotes of the properties, of course (they are optional), I keep them because the equivalent statement is copied over from the … Read more
I can’t highlight/select text in the RichText components in my Gutenberg blocks
I think the solution is clearer, and already hinted at in your attributes Add a new input for the text, and set its value to the btnText attributes value, allow it to update that attribute on change when you set the URL, don’t use (post && post.title) || ‘Click here’ instead use (post && post.title) … Read more
Get attributes from last block created
Image and font support missing in editor when deploying theme remotely
Figured it out: It’s under Filters, and then you proceed to isolate the parent page.
Adding a navigation with wp_nav_menu() to a custom block in the site editor
How to add “rel=nofollow” for links in latest version of WordPress?
ok i found the issue at least for me, so maybe it will help others: on my templates , on the post-content comment i added: {“layout”:{“type”:”constrained”}} that fixed the align issues.