Skip to content

Commit

Permalink
Update the help text for the embed toggle.
Browse files Browse the repository at this point in the history
Co-Authored-By: Michelle W. <[email protected]>
  • Loading branch information
pento and michelleweber committed Aug 3, 2020
1 parent a97f60d commit 058b669
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/block-library/src/file/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ export default function FileBlockInspector( {
<PanelBody title={ __( 'PDF settings' ) }>
<ToggleControl
label={ __( 'Show inline embed' ) }
help={ __(
"This won't display on browsers that don't support embedded PDFs, which includes most phones and tablets."
) }
help={
showInlineEmbed
? __(
"Note: Most phone and tablet browsers won't display embedded PDFs."
)
: null
}
checked={ showInlineEmbed }
onChange={ changeShowInlineEmbed }
/>
Expand Down

0 comments on commit 058b669

Please sign in to comment.