Skip to content

Commit

Permalink
Merge pull request #208 from gutenye/css-user-select
Browse files Browse the repository at this point in the history
Add user-select for contenteditable. fixes #191
  • Loading branch information
afc163 authored Sep 1, 2016
2 parents 56b6678 + 2642af4 commit edb4edb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ body {
user-select: none;
}

*[contenteditable] {
-webkit-user-select: auto !important;
}

*:focus {
outline: none;
}
Expand Down

0 comments on commit edb4edb

Please sign in to comment.