| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
import { registerPlugin } from '@wordpress/plugins'; |
| 5 |
|
| 6 |
/** |
| 7 |
* Internal dependencies |
| 8 |
*/ |
| 9 |
import DocumentSettingPanel from '../../Plugin/Panel/DocumentSetting'; |
| 10 |
import PrepublishPanel from '../../Plugin/Panel/Prepublish'; |
| 11 |
import Sidebar from '../../Plugin/Sidebar'; |
| 12 |
|
| 13 |
registerPlugin( 'beyondwords-document-sidebar', { |
| 14 |
icon: 'controls-volumeon', |
| 15 |
render: DocumentSettingPanel, |
| 16 |
} ); |
| 17 |
|
| 18 |
registerPlugin( 'beyondwords-plugin-sidebar', { |
| 19 |
icon: 'controls-volumeon', |
| 20 |
render: Sidebar, |
| 21 |
} ); |
| 22 |
|
| 23 |
registerPlugin( 'beyondwords-prepublish-sidebar', { |
| 24 |
icon: 'controls-volumeon', |
| 25 |
render: PrepublishPanel, |
| 26 |
} ); |
| 27 |
|