Skip to content

Commit

Permalink
Remove paste from URL block for now
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyc committed Aug 11, 2017
1 parent 71a45f2 commit 3ce1560
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions blocks/library/audio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ registerBlockType( 'core/audio', {
key="placeholder"
icon="media-audio"
label={ __( 'Audio' ) }
instructions={ __( 'Select an audio file from your library, or paste a URL below:' ) }
instructions={ __( 'Select an audio file from your library, or upload a new one:' ) }
className={ className }>
<MediaUploadButton
buttonProps={ { isLarge: true } }
Expand All @@ -54,12 +54,6 @@ registerBlockType( 'core/audio', {
>
{ __( 'Insert from Media Library' ) }
</MediaUploadButton>
<input
type="url"
value={ src || '' }
className="components-placeholder__input"
placeholder={ __( 'Enter URL to audio file here…' ) }
onChange={ ( event ) => setAttributes( { src: event.target.value } ) } />
</Placeholder>,
];
}
Expand Down

0 comments on commit 3ce1560

Please sign in to comment.