Closed ozguncagri closed 6 years ago
Thank you! That's odd, I already have a user-select rule:
Which browser are you using? Maybe we need to add more vendor-specific CSS...
Maybe you should add another rule with -webkit
prefix. Because I was trying it on Safari 11.0.1. I found this cross-browser solution on stack-overflow;
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}
Sometimes drag operations makes you select unnecessary things on editor. It can be prevent with
user-select: none
kind of style for better user experience. A picture is worth a thousand words;Thanks for editor BTW :)