From 2d06dc6316c5fb4533fcd4028a389c011e4992ad Mon Sep 17 00:00:00 2001 From: nightwing Date: Mon, 19 Jan 2015 00:28:51 +0400 Subject: [PATCH] workaround for word-wrap bug on chrome --- lib/ace/css/editor.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index be81f560..cef995c8 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -160,6 +160,8 @@ z-index: 1; position: absolute; overflow: hidden; + /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/ + word-wrap: normal; white-space: pre; height: 100%; width: 100%;