From: Aleksander Ɓukasz Date: Wed, 7 Aug 2013 13:04:24 +0000 (+0200) Subject: FIX: white-space: pre-wrap prevents collapsing spaces in document-text-element X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/f0a4549eb9a1adc546f31c3e8b0c5958fbc28edd FIX: white-space: pre-wrap prevents collapsing spaces in document-text-element Without it is impossible to select whole text in a document-text-element that starts with one space (because of offset == 1 on selection.api) --- diff --git a/modules/documentCanvas/nodes.less b/modules/documentCanvas/nodes.less index 2deb807..d02e872 100644 --- a/modules/documentCanvas/nodes.less +++ b/modules/documentCanvas/nodes.less @@ -3,6 +3,7 @@ display: inline; margin: 0 1px; border: 1px solid white; + white-space: pre-wrap; } [wlxml-tag] {