Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit de14a3a

Browse files
committed
Fixes captions un-editable in Safari
closes #338
1 parent 58d35d5 commit de14a3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nodes/Image.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ const Caption = styled.p`
304304
outline: none;
305305
background: none;
306306
resize: none;
307+
user-select: text;
307308
308309
&:empty:before {
309310
color: ${props => props.theme.placeholder};

0 commit comments

Comments
 (0)