diff --git a/docs/design/block-design.md b/docs/design/block-design.md index 09dd0ea9ad2ac7..7849cf693b9303 100644 --- a/docs/design/block-design.md +++ b/docs/design/block-design.md @@ -97,7 +97,7 @@ The most basic unit of the editor. The paragraph block is a simple input field. ### Placeholder: -- Simple placeholder text that reads “Start writing or press / to insert a block”. The placeholder disappears when the block is selected. +- Simple placeholder text that reads “Start writing or type / to choose a block”. The placeholder disappears when the block is selected. ### Selected state: diff --git a/lib/client-assets.php b/lib/client-assets.php index 3450b21856b07a..ee2e337ba82003 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -1621,7 +1621,7 @@ function gutenberg_editor_scripts_and_styles( $hook ) { 'disableCustomFontSizes' => get_theme_support( 'disable-custom-font-sizes' ), 'disablePostFormats' => ! current_theme_supports( 'post-formats' ), 'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title', 'gutenberg' ), $post ), - 'bodyPlaceholder' => apply_filters( 'write_your_story', __( 'Start writing or press / to insert a block', 'gutenberg' ), $post ), + 'bodyPlaceholder' => apply_filters( 'write_your_story', __( 'Start writing or type / to choose a block', 'gutenberg' ), $post ), 'isRTL' => is_rtl(), 'autosaveInterval' => 10, 'maxUploadFileSize' => $max_upload_size, diff --git a/packages/block-library/src/paragraph/edit.js b/packages/block-library/src/paragraph/edit.js index 510d808dc69308..130a11157e174c 100644 --- a/packages/block-library/src/paragraph/edit.js +++ b/packages/block-library/src/paragraph/edit.js @@ -245,8 +245,8 @@ class ParagraphBlock extends Component { onMerge={ mergeBlocks } onReplace={ this.onReplace } onRemove={ () => onReplace( [] ) } - aria-label={ __( 'Empty block; type text or press the forward slash key to insert a block' ) } - placeholder={ placeholder || __( 'Start writing or press / to insert a block' ) } + aria-label={ content ? __( 'Paragraph block' ) : __( 'Empty block; start writing or type forward slash to choose a block' ) } + placeholder={ placeholder || __( 'Start writing or type / to choose a block' ) } /> ); diff --git a/packages/block-library/src/paragraph/test/__snapshots__/index.js.snap b/packages/block-library/src/paragraph/test/__snapshots__/index.js.snap index a53f564e192585..4e273f676b1b32 100644 --- a/packages/block-library/src/paragraph/test/__snapshots__/index.js.snap +++ b/packages/block-library/src/paragraph/test/__snapshots__/index.js.snap @@ -14,7 +14,7 @@ exports[`core/paragraph block edit matches snapshot 1`] = ` diff --git a/packages/editor/src/components/default-block-appender/index.js b/packages/editor/src/components/default-block-appender/index.js index d280e330190685..8cc05c140878ed 100644 --- a/packages/editor/src/components/default-block-appender/index.js +++ b/packages/editor/src/components/default-block-appender/index.js @@ -31,7 +31,7 @@ export function DefaultBlockAppender( { return null; } - const value = decodeEntities( placeholder ) || __( 'Start writing or press / to insert a block' ); + const value = decodeEntities( placeholder ) || __( 'Start writing or type / to choose a block' ); // The appender "button" is in-fact a text field so as to support // transitions by WritingFlow occurring by arrow key press. WritingFlow diff --git a/packages/editor/src/components/default-block-appender/test/__snapshots__/index.js.snap b/packages/editor/src/components/default-block-appender/test/__snapshots__/index.js.snap index 3e654e54e0ae3d..a0e0e9e5003261 100644 --- a/packages/editor/src/components/default-block-appender/test/__snapshots__/index.js.snap +++ b/packages/editor/src/components/default-block-appender/test/__snapshots__/index.js.snap @@ -20,7 +20,7 @@ exports[`DefaultBlockAppender should append a default block when input focused 1 readOnly={true} role="button" type="text" - value="Start writing or press / to insert a block" + value="Start writing or type / to choose a block" />