PluginProbe
BeyondWords – AI audio for publishers / 7.0.0
BeyondWords – AI audio for publishers v7.0.0
7.1.0 trunk 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.1.0 4.1.1 4.1.2 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.3.0 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.7.0 All 43 releases
speechkit / src / editor / block / index.js

index.js in BeyondWords – AI audio for publishers 7.0.0, at src/editor/block/index.js

29 lines 794 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WordPress dependencies
3 */
4 import { registerPlugin } from '@wordpress/plugins';
5
6 /**
7 * Internal dependencies
8 */
9 import DocumentSettingPanel from './document-setting';
10 import PrepublishPanel from './prepublish';
11 import Sidebar from './sidebar';
12 import { BeyondwordsIcon } from '../components/icon';
13
14 // The inline Document Settings + Pre-publish panels render no brand icon — the
15 // registered-plugin icon sits misaligned beside their titles.
16 registerPlugin( 'beyondwords-document-sidebar', {
17 render: DocumentSettingPanel,
18 } );
19
20 registerPlugin( 'beyondwords-prepublish-sidebar', {
21 render: PrepublishPanel,
22 } );
23
24 // The plugin sidebar keeps the brand icon for its editor-toolbar pin.
25 registerPlugin( 'beyondwords-plugin-sidebar', {
26 icon: <BeyondwordsIcon />,
27 render: Sidebar,
28 } );
29