initial open/toggle PluginDocumentSettingPanel panel in document setting block editor gutenberg

This is a known issue in Gutenberg.

You can get this working by passing {plugin-slug}/{panel-name}

For your example, try:

dispatch('core/edit-post').toggleEditorPanelOpened('plugin-document-setting-panel-mycustom/mycustom-panel')

Leave a Comment