Skip to content

Commit bc33222

Browse files
author
Nagesh Pai
committed
Add fallback text
1 parent c64419d commit bc33222

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/infotip/inline-ui.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,23 @@ function TextTabContent( {
5757
return (
5858
<VStack spacing={ 6 }>
5959
<TextareaControl
60+
help={ __(
61+
'Enter the text to display within tooltip.',
62+
'blablablocks-formats'
63+
) }
6064
label={ __( 'Text', 'blablablocks-formats' ) }
61-
value={ activeAttributes.content }
6265
onChange={ ( newValue ) => {
6366
const sanitizedValue = safeHTML( newValue );
6467

6568
updateAttributes( {
6669
content: sanitizedValue,
6770
} );
6871
} }
69-
help={ __(
70-
'Enter the text to display within tooltip.',
72+
placeholder={ __(
73+
'Enter the text to display, or click clear to remove the format.',
7174
'blablablocks-formats'
7275
) }
76+
value={ activeAttributes.content }
7377
__nextHasNoMarginBottom={ true }
7478
/>
7579
<ToggleControl

0 commit comments

Comments
 (0)