Skip to content

Commit 03f253a

Browse files
committed
make meta text selectable
1 parent 92d6f67 commit 03f253a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/default_panels/StyleLayoutPanel.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,11 @@ const StyleLayoutPanel = (props, {localize: _}) => (
174174
{_(
175175
'You can refer to the items in this column in any text fields of the editor like so: '
176176
)}
177-
<p style={{letterSpacing: '1px', fontStyle: 'italic'}}>
178-
{_("Ex: 'My custom title %{meta[1]}.' ")}
177+
<p>
178+
{_('Ex: ')}
179+
<span style={{letterSpacing: '1px', fontStyle: 'italic', userSelect: 'text'}}>
180+
{_('My custom title %{meta[1]}')}
181+
</span>
179182
</p>
180183
</p>
181184
</Info>

0 commit comments

Comments
 (0)