diff --git a/stories/IsolatedBlockEditor.stories.tsx b/stories/IsolatedBlockEditor.stories.tsx new file mode 100644 index 000000000..c97d63758 --- /dev/null +++ b/stories/IsolatedBlockEditor.stories.tsx @@ -0,0 +1,52 @@ +/** + * Internal dependencies + */ +import IsolatedBlockEditor, { DocumentSection } from '../src/index'; + +export default { + title: 'Isolated Block Editor', + component: IsolatedBlockEditor, +}; + +export const Default = () => { + return ; +}; + +export const ToolbarSettings = ( toolbarSettings ) => { + return ( + + Arbitrary content can go here. + + ); +}; +ToolbarSettings.args = { + inserter: true, + inspector: true, + navigation: true, + toc: true, + documentInspector: 'Document', +}; + +export const MoreMenu = ( moreMenuSettings ) => { + return ; +}; +MoreMenu.args = { + editor: true, + fullscreen: true, + preview: true, + topToolbar: true, +}; + +export const MultipleEditors = ( { count } ) => { + const arr = Array( count ).fill( null ); + return ( + <> + { arr.map( ( _, idx ) => ( +
+ +
+ ) ) } + + ); +}; +MultipleEditors.args = { count: 2 };