diff --git a/extensions/blocks/story/edit.native.js b/extensions/blocks/story/edit.native.js index 3f6db41ef8e36..85bb4c1ec7cd3 100644 --- a/extensions/blocks/story/edit.native.js +++ b/extensions/blocks/story/edit.native.js @@ -8,13 +8,27 @@ import { Text, View } from 'react-native'; import { Image, } from '@wordpress/components'; +import { + // BlockCaption, + // MediaPlaceholder, + // MediaUpload, + MediaUploadProgress, + MEDIA_TYPE_IMAGE, + StoryUpdateProgress, + // BlockControls, + // InspectorControls, + // BlockAlignmentToolbar, + // BlockStyles, +} from '@wordpress/block-editor'; +import { __, sprintf } from '@wordpress/i18n'; import { // TODO implement the similar / following bridge signals // requestImageFailedRetryDialog, // requestImageUploadCancelDialog, // requestImageFullscreenPreview, - // mediaUploadSync, + mediaUploadSync, + storySaveSync, requestStoryCreatorLoad, } from '@wordpress/react-native-bridge'; @@ -66,6 +80,40 @@ const StoryEdit = ({ url={ mediaFiles[0].url } // just select the first one // TODO see how to handle video style={ styles['wp-story-image'] } /> + { + return ( + + ); + } } + /> + }