From 9bf6afe832b230ca399d2210d00d8a0a5fdf1b60 Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Mon, 28 Dec 2020 05:20:09 +1100 Subject: [PATCH] upd. --- htdocs/cgi-bin/wsrc/main.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/cgi-bin/wsrc/main.js b/htdocs/cgi-bin/wsrc/main.js index b717c9e..caccf68 100644 --- a/htdocs/cgi-bin/wsrc/main.js +++ b/htdocs/cgi-bin/wsrc/main.js @@ -145,18 +145,19 @@ function onBodyLoad(toggle, locale, tz, today, expires, rs_cur, log_limit) { $("#RTF").prop("checked", false); // $('#tbl_doc').toggle(); // $('#toolbar-container').toggle(); - if ($('#editor-container').length) { + if ($('#editor-container').length) { QUILL = new Quill('#editor-container', { + placeholder: 'Enter your Document here...', + theme: 'snow', modules: { formula: true, - syntax: true, - toolbar: '#toolbar-container' - }, - placeholder: 'Enter your Document here...', - theme: 'snow' + syntax: true, + toolbar: '#toolbar-container' + } }); Delta = Quill.import('delta'); CHANGE = new Delta(); + // toggleDocument(); } -- 2.34.1