This is perfect! I would love your code snippet if you have time. Thank you for sharing!
@sampohellevig72842 жыл бұрын
Great videos on Gutenberg and Kadence! Thanks for sharing👌 Keep it up 💪
@mrsevansict4482 Жыл бұрын
Great video, thank you.
@YvesGabioud3 жыл бұрын
Great solution, thanks !
@mistergeko3 жыл бұрын
Glad that you find it helpful!
@tomsiara23 жыл бұрын
Great soluion, thanks mate!
@mistergeko3 жыл бұрын
I'm glad it was helpful to you ;)
@anthonyperuzzo2 жыл бұрын
this is a great video. I think I saw you removed the "options" button in the top right corner of the editor. This is where users can toggle a lot of visibility and panels which i need to remove for certain users. Do you have any ideas on how to do this???
@binaryfire5 ай бұрын
I'm trying to do the same thing! Did you manage to figure out a solution?
@stevebab2 жыл бұрын
Thanks @mistergeko. I have a request for a video: how to change the default settings in a Gutenberg block. For example, the File Block always adds a "Download" button and puts pdfs in an embedded by default. I would like to change the default settings to be NO button and NO embed. I'd love to know your take on that.
@Minotauro_di_Chieti3 жыл бұрын
Compliments man, this is a great, great contribution for us. I have a few questions, if you don't mind: 1 - Could you explain the block type name (including namespace) 'cc/ma-block-files'? 2 - in your opinion, this cose is 100% sure? can we use it or it needs more improvements/testing? Thank you again.
@Jxerot2 жыл бұрын
How to check if "postType == post" and then removeEditorPanel? Don't want to remove on every editor screen only on the post editor screen. Can't find any good data. wp.data.select('core/editor').getCurrentPostType(); gives NULL
@erenversu28183 жыл бұрын
its posible to remove "revisions" panel like you remove the other panels? i search for this, and found a css way to do it, but not worked for me. its there some js way to remove it like you do in the video?
@erenversu28183 жыл бұрын
i tried to add a css file (block-style.css) in the child theme folder, add this code: .... .components-panel__body.edit-post-last-revision__panel { display:none !important; }) ......... then go to function.php and add this: ..... wp_register_style( 'cc-block-style', get_stylesheet_directory_uri() .'/block-style.css', // adjust file path array( 'wp-edit-post' ) ); register_block_type( 'cc/ma-block-files', array( 'editor_style' => 'cc-block-style', ) ); .... it work, remove revisions panel but make that the other code (all that you do in the video) stopped to work. can you help to understand why this code interfer with the code that yo do in the video