From 2642af4192eb4c2a1cf584d59028e4871964185a Mon Sep 17 00:00:00 2001 From: Guten Ye Date: Thu, 1 Sep 2016 11:22:45 +0800 Subject: [PATCH] Add user-select for contenteditable. fixes #191 --- components/style/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/style/index.less b/components/style/index.less index 30e4853c4e..31f783df23 100644 --- a/components/style/index.less +++ b/components/style/index.less @@ -11,6 +11,10 @@ body { user-select: none; } +*[contenteditable] { + -webkit-user-select: auto !important; +} + *:focus { outline: none; }