]> lifelog.hopto.org Git - LifeLog.git/commitdiff
upd.
authorWill Budicm <redacted>
Sun, 27 Dec 2020 18:20:09 +0000 (05:20 +1100)
committerWill Budicm <redacted>
Sun, 27 Dec 2020 18:20:09 +0000 (05:20 +1100)
htdocs/cgi-bin/wsrc/main.js

index b717c9ec469c51147feaf58d346240954082604d..caccf68ce1bf3fc1580b2d0641e71e06f1f6d6e4 100644 (file)
@@ -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();
     }