From 288cad3d3fcaac2d23fde0e0e5c3426a0fdb0ddf Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Sun, 14 Jun 2020 22:08:52 -0400 Subject: [PATCH] minor cleanup --- Oqtane.Server/wwwroot/js/quill-interop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Oqtane.Server/wwwroot/js/quill-interop.js b/Oqtane.Server/wwwroot/js/quill-interop.js index 3745b705..22332064 100644 --- a/Oqtane.Server/wwwroot/js/quill-interop.js +++ b/Oqtane.Server/wwwroot/js/quill-interop.js @@ -7,7 +7,7 @@ Oqtane.RichTextEditor = { const loadQuill = loadjs(['js/quill1.3.6.min.js', 'js/quill-blot-formatter.min.js'], 'Quill', { async: true, returnPromise: true }) - .then(function () { /* foo.js & bar.js loaded */ + .then(function () { Quill.register('modules/blotFormatter', QuillBlotFormatter.default); var options = { @@ -23,7 +23,7 @@ Oqtane.RichTextEditor = { new Quill(quillElement, options); }) - .catch(function (pathsNotFound) { /* at least one didn't load */ }); + .catch(function (pathsNotFound) { }); await loadQuill; },