TagSpaces is an offline, open source, document manager with tagging support
editorText extension cleaned up
uggrockd1e21655fb98
diff --git a/data/ext/editorAce/extension.js b/data/ext/editorAce/extension.jsindex a145ab7d1..f6071739e 100644--- a/data/ext/editorAce/extension.js+++ b/data/ext/editorAce/extension.js@@ -5,9 +5,9 @@define(function(require, exports, module) {"use strict";- console.log("Loading editorText");+ console.log("Loading editorAce");- exports.id = "editorText"; // ID should be equal to the directory name where the ext. is located+ exports.id = "editorAce"; // ID should be equal to the directory name where the ext. is locatedexports.title = "Text Editor";exports.type = "editor";exports.supportedFileTypes = [diff --git a/data/ext/editorText/codemirror/LICENSE b/data/ext/editorText/codemirror/LICENSE[mit].txtsimilarity index 100%rename from data/ext/editorText/codemirror/LICENSErename to data/ext/editorText/codemirror/LICENSE[mit].txtdiff --git a/data/ext/editorText/extension.js b/data/ext/editorText/extension.jsindex 60b105298..75f220c75 100644--- a/data/ext/editorText/extension.js+++ b/data/ext/editorText/extension.js@@ -5,9 +5,9 @@define(function(require, exports, module) {"use strict";- console.log("Loading editorMirror");+ console.log("Loading editorText extension");- exports.id = "editorMirror"; // ID should be equal to the directory name where the ext. is located+ exports.id = "editorText"; // ID should be equal to the directory name where the ext. is locatedexports.title = "Text Editor based on codemirror";exports.type = "editor";exports.supportedFileTypes = [@@ -27,7 +27,7 @@ define(function(require, exports, module) {exports.init = function(filePath, containerElementID, isViewerMode) {- console.log("Initalization Codemirror Editor...");+ console.log("Initalization Text Editor...");var fileExt = filePath.substring(filePath.lastIndexOf(".")+1,filePath.length).toLowerCase();$("#"+containerElementID).append('<div id="code" name="code" style="width: 100%; height: 100%">');