From: Will Budicm Date: Sun, 27 Dec 2020 18:20:09 +0000 (+1100) Subject: upd. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=9bf6afe832b230ca399d2210d00d8a0a5fdf1b60;p=LifeLog.git upd. --- 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(); }