Skip to content

TagSpaces is an offline, open source, document manager with tagging support

implementing new file save functionality

Ilian058c7a356440
diff --git a/data/ext/editorHTML/extension.js b/data/ext/editorHTML/extension.js
index 504d20ef7..343add45b 100644
--- a/data/ext/editorHTML/extension.js
+++ b/data/ext/editorHTML/extension.js
@@ -63,19 +63,21 @@ define(function(require, exports, module) {
$('#htmlEditor').append(cleanedBodyContent);
$('#htmlEditor').summernote({
- focus: true,
- toolbar: [
- ['style', ['style']],
- ['style', ['bold', 'italic', 'underline', 'clear']],
- ['fontsize', ['fontsize']],
- ['color', ['color']],
- ['para', ['ul', 'ol', 'paragraph']],
- ['height', ['height']],
- ['insert', ['picture', 'link']],
- ['table', ['table']],
- ['view', ['codeview']]
- //['help', ['help']] //no help button
- ]
+ focus: true,
+ toolbar: [
+ ['style', ['style']],
+ ['style', ['bold', 'italic', 'underline', 'clear']],
+ ['fontsize', ['fontsize']],
+ ['color', ['color']],
+ ['para', ['ul', 'ol', 'paragraph']],
+ ['height', ['height']],
+ ['insert', ['picture', 'link']],
+ ['table', ['table']],
+ ['view', ['codeview']]
+ ],
+ onkeyup: function() {
+ TSCORE.FileOpener.setFileChanged(true);
+ }
});
};