From 70d5beec71486f2126da43f3c81249dd19b3bac8 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 7 Dec 2011 23:37:21 +0000 Subject: [PATCH] Changed which elements had user-select: none so that people can copy the wikitext generated by the editor --- demo/index.html | 1 - modules/es/styles/es.SurfaceView.css | 5 +++++ modules/sandbox/sandbox.css | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/demo/index.html b/demo/index.html index 32b208c86f..fc95a986e3 100644 --- a/demo/index.html +++ b/demo/index.html @@ -18,7 +18,6 @@ margin: 1em 0; padding: 0; overflow-y: scroll; - -webkit-user-select: none; background-color: white; } #es-base { diff --git a/modules/es/styles/es.SurfaceView.css b/modules/es/styles/es.SurfaceView.css index 95574087c9..58d7221a6c 100644 --- a/modules/es/styles/es.SurfaceView.css +++ b/modules/es/styles/es.SurfaceView.css @@ -3,6 +3,11 @@ font-size: 1em; /* to look more like MediaWiki use: 0.8em */; margin-left: -1em; margin-right: -1em; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select; + user-select: none; } .es-surfaceView-textarea { diff --git a/modules/sandbox/sandbox.css b/modules/sandbox/sandbox.css index bba541afcd..7d37cb7f5f 100644 --- a/modules/sandbox/sandbox.css +++ b/modules/sandbox/sandbox.css @@ -8,6 +8,11 @@ background-image: url(../es/images/fade-up.png); background-position: bottom left; background-repeat: repeat-x; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select; + user-select: none; } #es-toolbar.float { top: 0;