From 198e936423924ff8b330a3310af75dcbee8d31c7 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sat, 11 Jan 2014 16:02:41 +0000 Subject: [PATCH] No select or text cursor on rendered preview fixes #1595 - prevents the backspace key from doing terrible things --- core/client/assets/sass/layouts/editor.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/client/assets/sass/layouts/editor.scss b/core/client/assets/sass/layouts/editor.scss index f5da59100c..a22cad9fe8 100644 --- a/core/client/assets/sass/layouts/editor.scss +++ b/core/client/assets/sass/layouts/editor.scss @@ -274,6 +274,8 @@ overflow: auto; word-break: break-word; hyphens: auto; + @include user-select(none); + cursor: default; // Tweak padding for smaller screens @include breakpoint($netbook) {padding-top: 20px;}