Yatin Sharma
Yatin Sharma

Reputation: 11

I am not able to paste text in React-Quill Editor on Safari

I am not able to PASTE text on React-Quill Editor on Safari(Only) While I am able to COPY , CUT, REDO and UNDO the text using shortcut keys.

Upvotes: 1

Views: 1546

Answers (2)

Robin Kopp
Robin Kopp

Reputation: 11

My mistake was that I used user-select: none; in a parent div

Upvotes: 1

Valeriy Nefyodov
Valeriy Nefyodov

Reputation: 11

Try to set -webkit-user-select: text to the .ql-clipboard div element

.ql-clipboard {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;    
}

Upvotes: 1

Related Questions