From 6fbfffeeb8fa23327660e8f8e168644bc93bf42b Mon Sep 17 00:00:00 2001 From: Cherrg Date: Sat, 16 Nov 2019 03:20:07 +0100 Subject: wiki - editor - enable side-by-side button (#7242) * wiki - enable side-by-side button in editor and add some delay so side-by-side live preview is updated * every 10th keypress * if keypress < 10 -> apter no input for 1 sec affects #5436 Signed-off-by: Michael Gnehr * decrease timeinterval user need to stop before rendering is triggered Signed-off-by: Michael Gnehr * removed not needed code with simpleMDE placeholder Signed-off-by: Michael Gnehr * run highlight.js on markdown preview Signed-off-by: Michael Gnehr * fix white border around side-by-side preview Signed-off-by: Michael Gnehr --- web_src/less/themes/arc-green.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web_src/less/themes') diff --git a/web_src/less/themes/arc-green.less b/web_src/less/themes/arc-green.less index 06e7c78d41..7ff9eacf09 100644 --- a/web_src/less/themes/arc-green.less +++ b/web_src/less/themes/arc-green.less @@ -553,7 +553,8 @@ a.ui.basic.green.label:hover { border-bottom: 1px solid rgba(187, 187, 187, 0.6); .editor-preview, - .editor-preview-side { + .editor-preview-side, + & + .editor-preview-side { background: #353945; .markdown:not(code).ui.segment { -- cgit v1.2.3