TagSpaces is an offline, open source, document manager with tagging support
jshinting
Ilian9e9caf2eb9fd
diff --git a/data/ext/editorHTML/extension.js b/data/ext/editorHTML/extension.jsindex 343add45b..d571f9810 100644--- a/data/ext/editorHTML/extension.js+++ b/data/ext/editorHTML/extension.js@@ -61,8 +61,9 @@ define(function(require, exports, module) {var cleanedBodyContent = bodyContent.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");- $('#htmlEditor').append(cleanedBodyContent);- $('#htmlEditor').summernote({+ var $htmlEditor = $('#htmlEditor');+ $htmlEditor.append(cleanedBodyContent);+ $htmlEditor.summernote({focus: true,toolbar: [['style', ['style']],