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 = ( ) => {
@@ -77,8 +77,6 @@ export default function CreatePatternModal( {
77
77
onRequestClose = { closeModal }
78
78
overlayClassName = "edit-site-create-pattern-modal"
79
79
>
80
- < p > { __ ( 'Turn this block into a pattern to reuse later' ) } </ p >
81
-
82
80
< form
83
81
onSubmit = { async ( event ) => {
84
82
event . preventDefault ( ) ;
@@ -100,13 +98,11 @@ export default function CreatePatternModal( {
100
98
__nextHasNoMarginBottom
101
99
/>
102
100
< ToggleControl
103
- label = { __ ( 'Synced ' ) }
101
+ label = { __ ( 'Keep all pattern instances in sync ' ) }
104
102
onChange = { onSyncChange }
105
- help = {
106
- syncType === SYNC_TYPES . full
107
- ? __ ( 'Content is synced' )
108
- : __ ( 'Content is not synced' )
109
- }
103
+ help = { __ (
104
+ 'Editing the original pattern will also update anywhere the pattern is used.'
105
+ ) }
110
106
checked = { syncType === SYNC_TYPES . full }
111
107
/>
112
108
< HStack justify = "right" >
You can’t perform that action at this time.
0 commit comments