File tree 1 file changed +5
-9
lines changed
packages/edit-site/src/components/create-pattern-modal
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default function CreatePatternModal( {
26
26
onError,
27
27
} ) {
28
28
const [ name , setName ] = useState ( '' ) ;
29
- const [ syncType , setSyncType ] = useState ( SYNC_TYPES . full ) ;
29
+ const [ syncType , setSyncType ] = useState ( SYNC_TYPES . unsynced ) ;
30
30
const [ isSubmitting , setIsSubmitting ] = useState ( false ) ;
31
31
32
32
const onSyncChange = ( ) => {
@@ -80,8 +80,6 @@ export default function CreatePatternModal( {
80
80
onRequestClose = { closeModal }
81
81
overlayClassName = "edit-site-create-pattern-modal"
82
82
>
83
- < p > { __ ( 'Turn this block into a pattern to reuse later' ) } </ p >
84
-
85
83
< form
86
84
onSubmit = { async ( event ) => {
87
85
event . preventDefault ( ) ;
@@ -103,13 +101,11 @@ export default function CreatePatternModal( {
103
101
__nextHasNoMarginBottom
104
102
/>
105
103
< ToggleControl
106
- label = { __ ( 'Synced ' ) }
104
+ label = { __ ( 'Keep all pattern instances in sync ' ) }
107
105
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
+ ) }
113
109
checked = { syncType === SYNC_TYPES . full }
114
110
/>
115
111
< HStack justify = "right" >
You can’t perform that action at this time.
0 commit comments