Skip to content

Commit 874f13d

Browse files
authored
Update pattern creation modal in library (#51946)
1 parent 0d2ad63 commit 874f13d

File tree

1 file changed

+5
-9
lines changed
  • packages/edit-site/src/components/create-pattern-modal

1 file changed

+5
-9
lines changed

packages/edit-site/src/components/create-pattern-modal/index.js

+5-9
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function CreatePatternModal( {
2626
onError,
2727
} ) {
2828
const [ name, setName ] = useState( '' );
29-
const [ syncType, setSyncType ] = useState( SYNC_TYPES.full );
29+
const [ syncType, setSyncType ] = useState( SYNC_TYPES.unsynced );
3030
const [ isSubmitting, setIsSubmitting ] = useState( false );
3131

3232
const onSyncChange = () => {
@@ -80,8 +80,6 @@ export default function CreatePatternModal( {
8080
onRequestClose={ closeModal }
8181
overlayClassName="edit-site-create-pattern-modal"
8282
>
83-
<p>{ __( 'Turn this block into a pattern to reuse later' ) }</p>
84-
8583
<form
8684
onSubmit={ async ( event ) => {
8785
event.preventDefault();
@@ -103,13 +101,11 @@ export default function CreatePatternModal( {
103101
__nextHasNoMarginBottom
104102
/>
105103
<ToggleControl
106-
label={ __( 'Synced' ) }
104+
label={ __( 'Keep all pattern instances in sync' ) }
107105
onChange={ onSyncChange }
108-
help={
109-
syncType === SYNC_TYPES.full
110-
? __( 'Content is synced' )
111-
: __( 'Content is not synced' )
112-
}
106+
help={ __(
107+
'Editing the original pattern will also update anywhere the pattern is used.'
108+
) }
113109
checked={ syncType === SYNC_TYPES.full }
114110
/>
115111
<HStack justify="right">

0 commit comments

Comments
 (0)