Gutenberg using removeEditorPanel | WordPress.org

[ad_1]

Hello,
Here, I did a test to modify the gutenberg side bar, I wanted to remove the ‘post-excerpt’ link management module so I used:

wp.data.dispatch('core/edit-post').removeEditorPanel( 'post-excerpt' );

it worked very well.. but now I would like to cancel this action in order to have the management of the ‘post-excerpt’ in the sidebar again, but I can’t find a way to return to the initial setting.
I searched a lot before deciding to come and ask you for help..
thank you in advance for your answers

  • This topic was modified 35 minutes ago by goueg.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer