Version Notes
Second release. Updated both CodeMirror as well as RequireJS to the latest versions. No further changes in functionality.
The GitHub repo can be found at: https://github.com/e-sites/magento-advanced-html-editor
Download this release
Release Info
Developer | Boye Oomens |
Extension | Esites_Editor |
Version | 0.2.0 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.2.0
- app/code/local/Esites/.DS_Store +0 -0
- app/code/local/Esites/Editor/Model/Config.php +1 -1
- app/code/local/Esites/Editor/etc/config.xml +1 -1
- js/tiny_mce/plugins/esites_editor/.DS_Store +0 -0
- js/tiny_mce/plugins/esites_editor/esites_editor_plugin_src.js +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/edit/continuelist.js +4 -4
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/runmode/runmode.node.js +69 -11
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/tern/tern.js +4 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/keymap/vim.js +42 -11
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/lib/codemirror.css +11 -11
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/lib/codemirror.js +24 -36
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/css/css.js +3 -1
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/htmlmixed/htmlmixed.js +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/javascript/javascript.js +6 -3
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/3024-day.css +3 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/3024-night.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/ambiance.css +5 -4
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/base16-dark.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/base16-light.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/blackboard.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/cobalt.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/erlang-dark.css +3 -3
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/lesser-dark.css +4 -4
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/mbo.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/mdn-like.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/midnight.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/monokai.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/night.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/paraiso-dark.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/paraiso-light.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/pastel-on-dark.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/rubyblue.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/solarized.css +5 -5
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/the-matrix.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/tomorrow-night-eighties.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/ttcn.css +9 -10
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/twilight.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/vibrant-ink.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/xq-dark.css +2 -2
- js/tiny_mce/plugins/esites_editor/js/vendor/requirejs/require.min.js +16 -16
- package.xml +6 -6
app/code/local/Esites/.DS_Store
DELETED
Binary file
|
app/code/local/Esites/Editor/Model/Config.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
*/
|
20 |
|
21 |
/**
|
22 |
-
* Widgets Plugin Config for
|
23 |
*
|
24 |
* @category Esites
|
25 |
* @package Esites_Editor
|
19 |
*/
|
20 |
|
21 |
/**
|
22 |
+
* Widgets Plugin Config for Esites_Editor
|
23 |
*
|
24 |
* @category Esites
|
25 |
* @package Esites_Editor
|
app/code/local/Esites/Editor/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Esites_Editor>
|
25 |
-
<version>0.
|
26 |
</Esites_Editor>
|
27 |
</modules>
|
28 |
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Esites_Editor>
|
25 |
+
<version>0.2.0</version>
|
26 |
</Esites_Editor>
|
27 |
</modules>
|
28 |
|
js/tiny_mce/plugins/esites_editor/.DS_Store
DELETED
Binary file
|
js/tiny_mce/plugins/esites_editor/esites_editor_plugin_src.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
* This is the TinyMCE plugin of the Magento extension that incorporates the CodeMirror library
|
4 |
*
|
5 |
* @author : Boye Oomens <boye@e-sites.nl>
|
6 |
-
* @version : 0.
|
7 |
-
* @license :
|
8 |
* @see : http://github.e-sites.nl/magento-advanced-html-editor/
|
9 |
* @see : http://codemirror.net/
|
10 |
* @see : http://emmet.io/
|
3 |
* This is the TinyMCE plugin of the Magento extension that incorporates the CodeMirror library
|
4 |
*
|
5 |
* @author : Boye Oomens <boye@e-sites.nl>
|
6 |
+
* @version : 0.2.0
|
7 |
+
* @license : OSL 3.0
|
8 |
* @see : http://github.e-sites.nl/magento-advanced-html-editor/
|
9 |
* @see : http://codemirror.net/
|
10 |
* @see : http://emmet.io/
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/edit/continuelist.js
CHANGED
@@ -11,8 +11,8 @@
|
|
11 |
})(function(CodeMirror) {
|
12 |
"use strict";
|
13 |
|
14 |
-
var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)
|
15 |
-
emptyListRE = /^(\s*)(>[> ]*|[*+-]|(\d+)
|
16 |
unorderedListRE = /[*+-]\s/;
|
17 |
|
18 |
CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
|
@@ -37,10 +37,10 @@
|
|
37 |
});
|
38 |
replacements[i] = "\n";
|
39 |
} else {
|
40 |
-
var indent = match[1], after = match[
|
41 |
var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0
|
42 |
? match[2]
|
43 |
-
: (parseInt(match[3], 10) + 1) +
|
44 |
|
45 |
replacements[i] = "\n" + indent + bullet + after;
|
46 |
}
|
11 |
})(function(CodeMirror) {
|
12 |
"use strict";
|
13 |
|
14 |
+
var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\s*)/,
|
15 |
+
emptyListRE = /^(\s*)(>[> ]*|[*+-]|(\d+)[.)])(\s*)$/,
|
16 |
unorderedListRE = /[*+-]\s/;
|
17 |
|
18 |
CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
|
37 |
});
|
38 |
replacements[i] = "\n";
|
39 |
} else {
|
40 |
+
var indent = match[1], after = match[5];
|
41 |
var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0
|
42 |
? match[2]
|
43 |
+
: (parseInt(match[3], 10) + 1) + match[4];
|
44 |
|
45 |
replacements[i] = "\n" + indent + bullet + after;
|
46 |
}
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/runmode/runmode.node.js
CHANGED
@@ -3,19 +3,37 @@
|
|
3 |
|
4 |
/* Just enough of CodeMirror to run runMode under node.js */
|
5 |
|
6 |
-
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
-
function StringStream(string) {
|
11 |
this.pos = this.start = 0;
|
12 |
this.string = string;
|
|
|
|
|
13 |
this.lineStart = 0;
|
14 |
-
}
|
|
|
15 |
StringStream.prototype = {
|
16 |
eol: function() {return this.pos >= this.string.length;},
|
17 |
-
sol: function() {return this.pos ==
|
18 |
-
peek: function() {return this.string.charAt(this.pos) ||
|
19 |
next: function() {
|
20 |
if (this.pos < this.string.length)
|
21 |
return this.string.charAt(this.pos++);
|
@@ -42,8 +60,17 @@ StringStream.prototype = {
|
|
42 |
if (found > -1) {this.pos = found; return true;}
|
43 |
},
|
44 |
backUp: function(n) {this.pos -= n;},
|
45 |
-
column: function() {
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
match: function(pattern, consume, caseInsensitive) {
|
48 |
if (typeof pattern == "string") {
|
49 |
var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
|
@@ -94,11 +121,42 @@ exports.resolveMode = function(spec) {
|
|
94 |
if (typeof spec == "string") return {name: spec};
|
95 |
else return spec || {name: "null"};
|
96 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
exports.getMode = function(options, spec) {
|
98 |
-
spec = exports.resolveMode(spec);
|
99 |
var mfactory = modes[spec.name];
|
100 |
-
if (!mfactory)
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
};
|
103 |
exports.registerHelper = exports.registerGlobalHelper = Math.min;
|
104 |
|
3 |
|
4 |
/* Just enough of CodeMirror to run runMode under node.js */
|
5 |
|
6 |
+
function splitLines(string){return string.split(/\r\n?|\n/);};
|
7 |
|
8 |
+
// Counts the column offset in a string, taking tabs into account.
|
9 |
+
// Used mostly to find indentation.
|
10 |
+
var countColumn = function(string, end, tabSize, startIndex, startValue) {
|
11 |
+
if (end == null) {
|
12 |
+
end = string.search(/[^\s\u00a0]/);
|
13 |
+
if (end == -1) end = string.length;
|
14 |
+
}
|
15 |
+
for (var i = startIndex || 0, n = startValue || 0;;) {
|
16 |
+
var nextTab = string.indexOf("\t", i);
|
17 |
+
if (nextTab < 0 || nextTab >= end)
|
18 |
+
return n + (end - i);
|
19 |
+
n += nextTab - i;
|
20 |
+
n += tabSize - (n % tabSize);
|
21 |
+
i = nextTab + 1;
|
22 |
+
}
|
23 |
+
};
|
24 |
|
25 |
+
function StringStream(string, tabSize) {
|
26 |
this.pos = this.start = 0;
|
27 |
this.string = string;
|
28 |
+
this.tabSize = tabSize || 8;
|
29 |
+
this.lastColumnPos = this.lastColumnValue = 0;
|
30 |
this.lineStart = 0;
|
31 |
+
};
|
32 |
+
|
33 |
StringStream.prototype = {
|
34 |
eol: function() {return this.pos >= this.string.length;},
|
35 |
+
sol: function() {return this.pos == this.lineStart;},
|
36 |
+
peek: function() {return this.string.charAt(this.pos) || undefined;},
|
37 |
next: function() {
|
38 |
if (this.pos < this.string.length)
|
39 |
return this.string.charAt(this.pos++);
|
60 |
if (found > -1) {this.pos = found; return true;}
|
61 |
},
|
62 |
backUp: function(n) {this.pos -= n;},
|
63 |
+
column: function() {
|
64 |
+
if (this.lastColumnPos < this.start) {
|
65 |
+
this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);
|
66 |
+
this.lastColumnPos = this.start;
|
67 |
+
}
|
68 |
+
return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
|
69 |
+
},
|
70 |
+
indentation: function() {
|
71 |
+
return countColumn(this.string, null, this.tabSize) -
|
72 |
+
(this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);
|
73 |
+
},
|
74 |
match: function(pattern, consume, caseInsensitive) {
|
75 |
if (typeof pattern == "string") {
|
76 |
var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
|
121 |
if (typeof spec == "string") return {name: spec};
|
122 |
else return spec || {name: "null"};
|
123 |
};
|
124 |
+
|
125 |
+
function copyObj(obj, target, overwrite) {
|
126 |
+
if (!target) target = {};
|
127 |
+
for (var prop in obj)
|
128 |
+
if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))
|
129 |
+
target[prop] = obj[prop];
|
130 |
+
return target;
|
131 |
+
}
|
132 |
+
|
133 |
+
// This can be used to attach properties to mode objects from
|
134 |
+
// outside the actual mode definition.
|
135 |
+
var modeExtensions = exports.modeExtensions = {};
|
136 |
+
exports.extendMode = function(mode, properties) {
|
137 |
+
var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});
|
138 |
+
copyObj(properties, exts);
|
139 |
+
};
|
140 |
+
|
141 |
exports.getMode = function(options, spec) {
|
142 |
+
var spec = exports.resolveMode(spec);
|
143 |
var mfactory = modes[spec.name];
|
144 |
+
if (!mfactory) return exports.getMode(options, "text/plain");
|
145 |
+
var modeObj = mfactory(options, spec);
|
146 |
+
if (modeExtensions.hasOwnProperty(spec.name)) {
|
147 |
+
var exts = modeExtensions[spec.name];
|
148 |
+
for (var prop in exts) {
|
149 |
+
if (!exts.hasOwnProperty(prop)) continue;
|
150 |
+
if (modeObj.hasOwnProperty(prop)) modeObj["_" + prop] = modeObj[prop];
|
151 |
+
modeObj[prop] = exts[prop];
|
152 |
+
}
|
153 |
+
}
|
154 |
+
modeObj.name = spec.name;
|
155 |
+
if (spec.helperType) modeObj.helperType = spec.helperType;
|
156 |
+
if (spec.modeProps) for (var prop in spec.modeProps)
|
157 |
+
modeObj[prop] = spec.modeProps[prop];
|
158 |
+
|
159 |
+
return modeObj;
|
160 |
};
|
161 |
exports.registerHelper = exports.registerGlobalHelper = Math.min;
|
162 |
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/addon/tern/tern.js
CHANGED
@@ -59,6 +59,7 @@
|
|
59 |
this.options = options || {};
|
60 |
var plugins = this.options.plugins || (this.options.plugins = {});
|
61 |
if (!plugins.doc_comment) plugins.doc_comment = true;
|
|
|
62 |
if (this.options.useWorker) {
|
63 |
this.server = new WorkerServer(this);
|
64 |
} else {
|
@@ -69,7 +70,6 @@
|
|
69 |
plugins: plugins
|
70 |
});
|
71 |
}
|
72 |
-
this.docs = Object.create(null);
|
73 |
this.trackChange = function(doc, change) { trackChange(self, doc, change); };
|
74 |
|
75 |
this.cachedArgHints = null;
|
@@ -124,6 +124,8 @@
|
|
124 |
var self = this;
|
125 |
var doc = findDoc(this, cm.getDoc());
|
126 |
var request = buildRequest(this, doc, query, pos);
|
|
|
|
|
127 |
|
128 |
this.server.request(request, function (error, data) {
|
129 |
if (!error && self.options.responseFilter)
|
@@ -442,7 +444,7 @@
|
|
442 |
|
443 |
function atInterestingExpression(cm) {
|
444 |
var pos = cm.getCursor("end"), tok = cm.getTokenAt(pos);
|
445 |
-
if (tok.start < pos.ch &&
|
446 |
return /[\w)\]]/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1));
|
447 |
}
|
448 |
|
59 |
this.options = options || {};
|
60 |
var plugins = this.options.plugins || (this.options.plugins = {});
|
61 |
if (!plugins.doc_comment) plugins.doc_comment = true;
|
62 |
+
this.docs = Object.create(null);
|
63 |
if (this.options.useWorker) {
|
64 |
this.server = new WorkerServer(this);
|
65 |
} else {
|
70 |
plugins: plugins
|
71 |
});
|
72 |
}
|
|
|
73 |
this.trackChange = function(doc, change) { trackChange(self, doc, change); };
|
74 |
|
75 |
this.cachedArgHints = null;
|
124 |
var self = this;
|
125 |
var doc = findDoc(this, cm.getDoc());
|
126 |
var request = buildRequest(this, doc, query, pos);
|
127 |
+
var extraOptions = request.query && this.options.queryOptions && this.options.queryOptions[request.query.type]
|
128 |
+
if (extraOptions) for (var prop in extraOptions) request.query[prop] = extraOptions[prop];
|
129 |
|
130 |
this.server.request(request, function (error, data) {
|
131 |
if (!error && self.options.responseFilter)
|
444 |
|
445 |
function atInterestingExpression(cm) {
|
446 |
var pos = cm.getCursor("end"), tok = cm.getTokenAt(pos);
|
447 |
+
if (tok.start < pos.ch && tok.type == "comment") return false;
|
448 |
return /[\w)\]]/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1));
|
449 |
}
|
450 |
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/keymap/vim.js
CHANGED
@@ -851,6 +851,8 @@
|
|
851 |
mapCommand: mapCommand,
|
852 |
_mapCommand: _mapCommand,
|
853 |
|
|
|
|
|
854 |
exitVisualMode: exitVisualMode,
|
855 |
exitInsertMode: exitInsertMode
|
856 |
};
|
@@ -940,6 +942,25 @@
|
|
940 |
}
|
941 |
};
|
942 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
943 |
/*
|
944 |
* vim registers allow you to keep many independent copy and paste buffers.
|
945 |
* See http://usevim.com/2012/04/13/registers/ for an introduction.
|
@@ -3640,13 +3661,17 @@
|
|
3640 |
// Translates the replace part of a search and replace from ex (vim) syntax into
|
3641 |
// javascript form. Similar to translateRegex, but additionally fixes back references
|
3642 |
// (translates '\[0..9]' to '$[0..9]') and follows different rules for escaping '$'.
|
|
|
3643 |
function translateRegexReplace(str) {
|
3644 |
var escapeNextChar = false;
|
3645 |
var out = [];
|
3646 |
for (var i = -1; i < str.length; i++) {
|
3647 |
var c = str.charAt(i) || '';
|
3648 |
var n = str.charAt(i+1) || '';
|
3649 |
-
if (
|
|
|
|
|
|
|
3650 |
// At any point in the loop, escapeNextChar is true if the previous
|
3651 |
// character was a '\' and was not escaped.
|
3652 |
out.push(c);
|
@@ -3674,6 +3699,7 @@
|
|
3674 |
}
|
3675 |
|
3676 |
// Unescape \ and / in the replace part, for PCRE mode.
|
|
|
3677 |
function unescapeRegexReplace(str) {
|
3678 |
var stream = new CodeMirror.StringStream(str);
|
3679 |
var output = [];
|
@@ -3682,13 +3708,15 @@
|
|
3682 |
while (stream.peek() && stream.peek() != '\\') {
|
3683 |
output.push(stream.next());
|
3684 |
}
|
3685 |
-
|
3686 |
-
|
3687 |
-
|
3688 |
-
|
3689 |
-
|
3690 |
-
|
3691 |
-
|
|
|
|
|
3692 |
// Don't change anything
|
3693 |
output.push(stream.next());
|
3694 |
}
|
@@ -4463,6 +4491,9 @@
|
|
4463 |
var query = state.getQuery();
|
4464 |
var lineStart = (params.line !== undefined) ? params.line : cm.getCursor().line;
|
4465 |
var lineEnd = params.lineEnd || lineStart;
|
|
|
|
|
|
|
4466 |
if (count) {
|
4467 |
lineStart = lineEnd;
|
4468 |
lineEnd = lineStart + count - 1;
|
@@ -4716,7 +4747,7 @@
|
|
4716 |
}
|
4717 |
|
4718 |
function _mapCommand(command) {
|
4719 |
-
defaultKeymap.
|
4720 |
}
|
4721 |
|
4722 |
function mapCommand(keys, type, name, args, extra) {
|
@@ -4805,7 +4836,7 @@
|
|
4805 |
if (macroModeState.isPlaying) { return; }
|
4806 |
var registerName = macroModeState.latestRegister;
|
4807 |
var register = vimGlobalState.registerController.getRegister(registerName);
|
4808 |
-
if (register) {
|
4809 |
register.pushInsertModeChanges(macroModeState.lastInsertModeChanges);
|
4810 |
}
|
4811 |
}
|
@@ -4814,7 +4845,7 @@
|
|
4814 |
if (macroModeState.isPlaying) { return; }
|
4815 |
var registerName = macroModeState.latestRegister;
|
4816 |
var register = vimGlobalState.registerController.getRegister(registerName);
|
4817 |
-
if (register) {
|
4818 |
register.pushSearchQuery(query);
|
4819 |
}
|
4820 |
}
|
851 |
mapCommand: mapCommand,
|
852 |
_mapCommand: _mapCommand,
|
853 |
|
854 |
+
defineRegister: defineRegister,
|
855 |
+
|
856 |
exitVisualMode: exitVisualMode,
|
857 |
exitInsertMode: exitInsertMode
|
858 |
};
|
942 |
}
|
943 |
};
|
944 |
|
945 |
+
/**
|
946 |
+
* Defines an external register.
|
947 |
+
*
|
948 |
+
* The name should be a single character that will be used to reference the register.
|
949 |
+
* The register should support setText, pushText, clear, and toString(). See Register
|
950 |
+
* for a reference implementation.
|
951 |
+
*/
|
952 |
+
function defineRegister(name, register) {
|
953 |
+
var registers = vimGlobalState.registerController.registers[name];
|
954 |
+
if (!name || name.length != 1) {
|
955 |
+
throw Error('Register name must be 1 character');
|
956 |
+
}
|
957 |
+
if (registers[name]) {
|
958 |
+
throw Error('Register already defined ' + name);
|
959 |
+
}
|
960 |
+
registers[name] = register;
|
961 |
+
validRegisters.push(name);
|
962 |
+
}
|
963 |
+
|
964 |
/*
|
965 |
* vim registers allow you to keep many independent copy and paste buffers.
|
966 |
* See http://usevim.com/2012/04/13/registers/ for an introduction.
|
3661 |
// Translates the replace part of a search and replace from ex (vim) syntax into
|
3662 |
// javascript form. Similar to translateRegex, but additionally fixes back references
|
3663 |
// (translates '\[0..9]' to '$[0..9]') and follows different rules for escaping '$'.
|
3664 |
+
var charUnescapes = {'\\n': '\n', '\\r': '\r', '\\t': '\t'};
|
3665 |
function translateRegexReplace(str) {
|
3666 |
var escapeNextChar = false;
|
3667 |
var out = [];
|
3668 |
for (var i = -1; i < str.length; i++) {
|
3669 |
var c = str.charAt(i) || '';
|
3670 |
var n = str.charAt(i+1) || '';
|
3671 |
+
if (charUnescapes[c + n]) {
|
3672 |
+
out.push(charUnescapes[c+n]);
|
3673 |
+
i++;
|
3674 |
+
} else if (escapeNextChar) {
|
3675 |
// At any point in the loop, escapeNextChar is true if the previous
|
3676 |
// character was a '\' and was not escaped.
|
3677 |
out.push(c);
|
3699 |
}
|
3700 |
|
3701 |
// Unescape \ and / in the replace part, for PCRE mode.
|
3702 |
+
var unescapes = {'\\/': '/', '\\\\': '\\', '\\n': '\n', '\\r': '\r', '\\t': '\t'};
|
3703 |
function unescapeRegexReplace(str) {
|
3704 |
var stream = new CodeMirror.StringStream(str);
|
3705 |
var output = [];
|
3708 |
while (stream.peek() && stream.peek() != '\\') {
|
3709 |
output.push(stream.next());
|
3710 |
}
|
3711 |
+
var matched = false;
|
3712 |
+
for (var matcher in unescapes) {
|
3713 |
+
if (stream.match(matcher, true)) {
|
3714 |
+
matched = true;
|
3715 |
+
output.push(unescapes[matcher]);
|
3716 |
+
break;
|
3717 |
+
}
|
3718 |
+
}
|
3719 |
+
if (!matched) {
|
3720 |
// Don't change anything
|
3721 |
output.push(stream.next());
|
3722 |
}
|
4491 |
var query = state.getQuery();
|
4492 |
var lineStart = (params.line !== undefined) ? params.line : cm.getCursor().line;
|
4493 |
var lineEnd = params.lineEnd || lineStart;
|
4494 |
+
if (lineStart == cm.firstLine() && lineEnd == cm.lastLine()) {
|
4495 |
+
lineEnd = Infinity;
|
4496 |
+
}
|
4497 |
if (count) {
|
4498 |
lineStart = lineEnd;
|
4499 |
lineEnd = lineStart + count - 1;
|
4747 |
}
|
4748 |
|
4749 |
function _mapCommand(command) {
|
4750 |
+
defaultKeymap.unshift(command);
|
4751 |
}
|
4752 |
|
4753 |
function mapCommand(keys, type, name, args, extra) {
|
4836 |
if (macroModeState.isPlaying) { return; }
|
4837 |
var registerName = macroModeState.latestRegister;
|
4838 |
var register = vimGlobalState.registerController.getRegister(registerName);
|
4839 |
+
if (register && register.pushInsertModeChanges) {
|
4840 |
register.pushInsertModeChanges(macroModeState.lastInsertModeChanges);
|
4841 |
}
|
4842 |
}
|
4845 |
if (macroModeState.isPlaying) { return; }
|
4846 |
var registerName = macroModeState.latestRegister;
|
4847 |
var register = vimGlobalState.registerController.getRegister(registerName);
|
4848 |
+
if (register && register.pushSearchQuery) {
|
4849 |
register.pushSearchQuery(query);
|
4850 |
}
|
4851 |
}
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/lib/codemirror.css
CHANGED
@@ -92,6 +92,15 @@ div.CodeMirror-overwrite div.CodeMirror-cursor {}
|
|
92 |
|
93 |
/* DEFAULT THEME */
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
.cm-s-default .cm-keyword {color: #708;}
|
96 |
.cm-s-default .cm-atom {color: #219;}
|
97 |
.cm-s-default .cm-number {color: #164;}
|
@@ -111,18 +120,9 @@ div.CodeMirror-overwrite div.CodeMirror-cursor {}
|
|
111 |
.cm-s-default .cm-bracket {color: #997;}
|
112 |
.cm-s-default .cm-tag {color: #170;}
|
113 |
.cm-s-default .cm-attribute {color: #00c;}
|
114 |
-
.cm-s-default .cm-header {color: blue;}
|
115 |
-
.cm-s-default .cm-quote {color: #090;}
|
116 |
.cm-s-default .cm-hr {color: #999;}
|
117 |
.cm-s-default .cm-link {color: #00c;}
|
118 |
|
119 |
-
.cm-negative {color: #d44;}
|
120 |
-
.cm-positive {color: #292;}
|
121 |
-
.cm-header, .cm-strong {font-weight: bold;}
|
122 |
-
.cm-em {font-style: italic;}
|
123 |
-
.cm-link {text-decoration: underline;}
|
124 |
-
.cm-strikethrough {text-decoration: line-through;}
|
125 |
-
|
126 |
.cm-s-default .cm-error {color: #f00;}
|
127 |
.cm-invalidchar {color: #f00;}
|
128 |
|
@@ -297,8 +297,8 @@ div.CodeMirror-cursors {
|
|
297 |
.CodeMirror-selected { background: #d9d9d9; }
|
298 |
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
299 |
.CodeMirror-crosshair { cursor: crosshair; }
|
300 |
-
.CodeMirror ::selection { background: #d7d4f0; }
|
301 |
-
.CodeMirror ::-moz-selection { background: #d7d4f0; }
|
302 |
|
303 |
.cm-searching {
|
304 |
background: #ffa;
|
92 |
|
93 |
/* DEFAULT THEME */
|
94 |
|
95 |
+
.cm-s-default .cm-header {color: blue;}
|
96 |
+
.cm-s-default .cm-quote {color: #090;}
|
97 |
+
.cm-negative {color: #d44;}
|
98 |
+
.cm-positive {color: #292;}
|
99 |
+
.cm-header, .cm-strong {font-weight: bold;}
|
100 |
+
.cm-em {font-style: italic;}
|
101 |
+
.cm-link {text-decoration: underline;}
|
102 |
+
.cm-strikethrough {text-decoration: line-through;}
|
103 |
+
|
104 |
.cm-s-default .cm-keyword {color: #708;}
|
105 |
.cm-s-default .cm-atom {color: #219;}
|
106 |
.cm-s-default .cm-number {color: #164;}
|
120 |
.cm-s-default .cm-bracket {color: #997;}
|
121 |
.cm-s-default .cm-tag {color: #170;}
|
122 |
.cm-s-default .cm-attribute {color: #00c;}
|
|
|
|
|
123 |
.cm-s-default .cm-hr {color: #999;}
|
124 |
.cm-s-default .cm-link {color: #00c;}
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
.cm-s-default .cm-error {color: #f00;}
|
127 |
.cm-invalidchar {color: #f00;}
|
128 |
|
297 |
.CodeMirror-selected { background: #d9d9d9; }
|
298 |
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
299 |
.CodeMirror-crosshair { cursor: crosshair; }
|
300 |
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
301 |
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
302 |
|
303 |
.cm-searching {
|
304 |
background: #ffa;
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/lib/codemirror.js
CHANGED
@@ -1081,9 +1081,10 @@
|
|
1081 |
cm.display.shift = false;
|
1082 |
if (!sel) sel = doc.sel;
|
1083 |
|
|
|
1084 |
var textLines = splitLines(inserted), multiPaste = null;
|
1085 |
// When pasing N lines into N selections, insert one line per selection
|
1086 |
-
if (
|
1087 |
if (lastCopied && lastCopied.join("\n") == inserted)
|
1088 |
multiPaste = sel.ranges.length % lastCopied.length == 0 && map(lastCopied, splitLines);
|
1089 |
else if (textLines.length == sel.ranges.length)
|
@@ -1097,16 +1098,16 @@
|
|
1097 |
if (range.empty()) {
|
1098 |
if (deleted && deleted > 0) // Handle deletion
|
1099 |
from = Pos(from.line, from.ch - deleted);
|
1100 |
-
else if (cm.state.overwrite && !
|
1101 |
to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));
|
1102 |
}
|
1103 |
var updateInput = cm.curOp.updateInput;
|
1104 |
var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,
|
1105 |
-
origin: origin || (
|
1106 |
makeChange(cm.doc, changeEvent);
|
1107 |
signalLater(cm, "inputRead", cm, changeEvent);
|
1108 |
}
|
1109 |
-
if (inserted && !
|
1110 |
triggerElectric(cm, inserted);
|
1111 |
|
1112 |
ensureCursorVisible(cm);
|
@@ -1115,6 +1116,15 @@
|
|
1115 |
cm.state.pasteIncoming = cm.state.cutIncoming = false;
|
1116 |
}
|
1117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1118 |
function triggerElectric(cm, inserted) {
|
1119 |
// When an 'electric' character is inserted, immediately trigger a reindent
|
1120 |
if (!cm.options.electricChars || !cm.options.smartIndent) return;
|
@@ -1211,21 +1221,9 @@
|
|
1211 |
input.poll();
|
1212 |
});
|
1213 |
|
1214 |
-
on(te, "paste", function() {
|
1215 |
-
|
1216 |
-
|
1217 |
-
// selection doesn't span to the end of textarea.
|
1218 |
-
if (webkit && !cm.state.fakedLastChar && !(new Date - cm.state.lastMiddleDown < 200)) {
|
1219 |
-
var start = te.selectionStart, end = te.selectionEnd;
|
1220 |
-
te.value += "$";
|
1221 |
-
// The selection end needs to be set before the start, otherwise there
|
1222 |
-
// can be an intermediate non-empty selection between the two, which
|
1223 |
-
// can override the middle-click paste buffer on linux and cause the
|
1224 |
-
// wrong thing to get pasted.
|
1225 |
-
te.selectionEnd = end;
|
1226 |
-
te.selectionStart = start;
|
1227 |
-
cm.state.fakedLastChar = true;
|
1228 |
-
}
|
1229 |
cm.state.pasteIncoming = true;
|
1230 |
input.fastPoll();
|
1231 |
});
|
@@ -1394,11 +1392,6 @@
|
|
1394 |
isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)
|
1395 |
return false;
|
1396 |
|
1397 |
-
// See paste handler for more on the fakedLastChar kludge
|
1398 |
-
if (cm.state.pasteIncoming && cm.state.fakedLastChar) {
|
1399 |
-
input.value = input.value.substring(0, input.value.length - 1);
|
1400 |
-
cm.state.fakedLastChar = false;
|
1401 |
-
}
|
1402 |
var text = input.value;
|
1403 |
// If nothing changed, bail.
|
1404 |
if (text == prevInput && !cm.somethingSelected()) return false;
|
@@ -1544,13 +1537,7 @@
|
|
1544 |
div.contentEditable = "true";
|
1545 |
disableBrowserMagic(div);
|
1546 |
|
1547 |
-
on(div, "paste", function(e) {
|
1548 |
-
var pasted = e.clipboardData && e.clipboardData.getData("text/plain");
|
1549 |
-
if (pasted) {
|
1550 |
-
e.preventDefault();
|
1551 |
-
cm.replaceSelection(pasted, null, "paste");
|
1552 |
-
}
|
1553 |
-
});
|
1554 |
|
1555 |
on(div, "compositionstart", function(e) {
|
1556 |
var data = e.data;
|
@@ -1763,7 +1750,7 @@
|
|
1763 |
var toIndex = findViewIndex(cm, to.line);
|
1764 |
if (toIndex == display.view.length - 1) {
|
1765 |
var toLine = display.viewTo - 1;
|
1766 |
-
var toNode = display.
|
1767 |
} else {
|
1768 |
var toLine = lineNo(display.view[toIndex + 1].line) - 1;
|
1769 |
var toNode = display.view[toIndex + 1].node.previousSibling;
|
@@ -3569,7 +3556,8 @@
|
|
3569 |
var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;
|
3570 |
if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&
|
3571 |
type == "single" && (contained = sel.contains(start)) > -1 &&
|
3572 |
-
|
|
|
3573 |
leftButtonStartDrag(cm, e, start, modifier);
|
3574 |
else
|
3575 |
leftButtonSelect(cm, e, start, type, modifier);
|
@@ -6803,7 +6791,7 @@
|
|
6803 |
// is needed on Webkit to be able to get line-level bounding
|
6804 |
// rectangles for it (in measureChar).
|
6805 |
var content = elt("span", null, null, webkit ? "padding-right: .1px" : null);
|
6806 |
-
var builder = {pre: elt("pre", [content]), content: content,
|
6807 |
col: 0, pos: 0, cm: cm,
|
6808 |
splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")};
|
6809 |
lineView.measure = {};
|
@@ -7589,7 +7577,7 @@
|
|
7589 |
Doc.prototype.eachLine = Doc.prototype.iter;
|
7590 |
|
7591 |
// Set up methods on CodeMirror's prototype to redirect to the editor's document.
|
7592 |
-
var dontDelegate = "iter insert remove copy getEditor".split(" ");
|
7593 |
for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)
|
7594 |
CodeMirror.prototype[prop] = (function(method) {
|
7595 |
return function() {return method.apply(this.doc, arguments);};
|
@@ -8741,7 +8729,7 @@
|
|
8741 |
|
8742 |
// THE END
|
8743 |
|
8744 |
-
CodeMirror.version = "5.
|
8745 |
|
8746 |
return CodeMirror;
|
8747 |
});
|
1081 |
cm.display.shift = false;
|
1082 |
if (!sel) sel = doc.sel;
|
1083 |
|
1084 |
+
var paste = cm.state.pasteIncoming || origin == "paste";
|
1085 |
var textLines = splitLines(inserted), multiPaste = null;
|
1086 |
// When pasing N lines into N selections, insert one line per selection
|
1087 |
+
if (paste && sel.ranges.length > 1) {
|
1088 |
if (lastCopied && lastCopied.join("\n") == inserted)
|
1089 |
multiPaste = sel.ranges.length % lastCopied.length == 0 && map(lastCopied, splitLines);
|
1090 |
else if (textLines.length == sel.ranges.length)
|
1098 |
if (range.empty()) {
|
1099 |
if (deleted && deleted > 0) // Handle deletion
|
1100 |
from = Pos(from.line, from.ch - deleted);
|
1101 |
+
else if (cm.state.overwrite && !paste) // Handle overwrite
|
1102 |
to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));
|
1103 |
}
|
1104 |
var updateInput = cm.curOp.updateInput;
|
1105 |
var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,
|
1106 |
+
origin: origin || (paste ? "paste" : cm.state.cutIncoming ? "cut" : "+input")};
|
1107 |
makeChange(cm.doc, changeEvent);
|
1108 |
signalLater(cm, "inputRead", cm, changeEvent);
|
1109 |
}
|
1110 |
+
if (inserted && !paste)
|
1111 |
triggerElectric(cm, inserted);
|
1112 |
|
1113 |
ensureCursorVisible(cm);
|
1116 |
cm.state.pasteIncoming = cm.state.cutIncoming = false;
|
1117 |
}
|
1118 |
|
1119 |
+
function handlePaste(e, cm) {
|
1120 |
+
var pasted = e.clipboardData && e.clipboardData.getData("text/plain");
|
1121 |
+
if (pasted) {
|
1122 |
+
e.preventDefault();
|
1123 |
+
runInOp(cm, function() { applyTextInput(cm, pasted, 0, null, "paste"); });
|
1124 |
+
return true;
|
1125 |
+
}
|
1126 |
+
}
|
1127 |
+
|
1128 |
function triggerElectric(cm, inserted) {
|
1129 |
// When an 'electric' character is inserted, immediately trigger a reindent
|
1130 |
if (!cm.options.electricChars || !cm.options.smartIndent) return;
|
1221 |
input.poll();
|
1222 |
});
|
1223 |
|
1224 |
+
on(te, "paste", function(e) {
|
1225 |
+
if (handlePaste(e, cm)) return true;
|
1226 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1227 |
cm.state.pasteIncoming = true;
|
1228 |
input.fastPoll();
|
1229 |
});
|
1392 |
isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)
|
1393 |
return false;
|
1394 |
|
|
|
|
|
|
|
|
|
|
|
1395 |
var text = input.value;
|
1396 |
// If nothing changed, bail.
|
1397 |
if (text == prevInput && !cm.somethingSelected()) return false;
|
1537 |
div.contentEditable = "true";
|
1538 |
disableBrowserMagic(div);
|
1539 |
|
1540 |
+
on(div, "paste", function(e) { handlePaste(e, cm); })
|
|
|
|
|
|
|
|
|
|
|
|
|
1541 |
|
1542 |
on(div, "compositionstart", function(e) {
|
1543 |
var data = e.data;
|
1750 |
var toIndex = findViewIndex(cm, to.line);
|
1751 |
if (toIndex == display.view.length - 1) {
|
1752 |
var toLine = display.viewTo - 1;
|
1753 |
+
var toNode = display.lineDiv.lastChild;
|
1754 |
} else {
|
1755 |
var toLine = lineNo(display.view[toIndex + 1].line) - 1;
|
1756 |
var toNode = display.view[toIndex + 1].node.previousSibling;
|
3556 |
var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;
|
3557 |
if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&
|
3558 |
type == "single" && (contained = sel.contains(start)) > -1 &&
|
3559 |
+
(cmp((contained = sel.ranges[contained]).from(), start) < 0 || start.xRel > 0) &&
|
3560 |
+
(cmp(contained.to(), start) > 0 || start.xRel < 0))
|
3561 |
leftButtonStartDrag(cm, e, start, modifier);
|
3562 |
else
|
3563 |
leftButtonSelect(cm, e, start, type, modifier);
|
6791 |
// is needed on Webkit to be able to get line-level bounding
|
6792 |
// rectangles for it (in measureChar).
|
6793 |
var content = elt("span", null, null, webkit ? "padding-right: .1px" : null);
|
6794 |
+
var builder = {pre: elt("pre", [content], "CodeMirror-line"), content: content,
|
6795 |
col: 0, pos: 0, cm: cm,
|
6796 |
splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")};
|
6797 |
lineView.measure = {};
|
7577 |
Doc.prototype.eachLine = Doc.prototype.iter;
|
7578 |
|
7579 |
// Set up methods on CodeMirror's prototype to redirect to the editor's document.
|
7580 |
+
var dontDelegate = "iter insert remove copy getEditor constructor".split(" ");
|
7581 |
for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)
|
7582 |
CodeMirror.prototype[prop] = (function(method) {
|
7583 |
return function() {return method.apply(this.doc, arguments);};
|
8729 |
|
8730 |
// THE END
|
8731 |
|
8732 |
+
CodeMirror.version = "5.4.1";
|
8733 |
|
8734 |
return CodeMirror;
|
8735 |
});
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/css/css.js
CHANGED
@@ -273,6 +273,8 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
|
|
273 |
override = "string-2";
|
274 |
else if (valueKeywords.hasOwnProperty(word))
|
275 |
override = "atom";
|
|
|
|
|
276 |
else
|
277 |
override = "error";
|
278 |
}
|
@@ -751,4 +753,4 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
|
|
751 |
helperType: "less"
|
752 |
});
|
753 |
|
754 |
-
});
|
273 |
override = "string-2";
|
274 |
else if (valueKeywords.hasOwnProperty(word))
|
275 |
override = "atom";
|
276 |
+
else if (colorKeywords.hasOwnProperty(word))
|
277 |
+
override = "keyword";
|
278 |
else
|
279 |
override = "error";
|
280 |
}
|
753 |
helperType: "less"
|
754 |
});
|
755 |
|
756 |
+
});
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/htmlmixed/htmlmixed.js
CHANGED
@@ -57,9 +57,9 @@ CodeMirror.defineMode("htmlmixed", function(config, parserConfig) {
|
|
57 |
}
|
58 |
function maybeBackup(stream, pat, style) {
|
59 |
var cur = stream.current();
|
60 |
-
var close = cur.search(pat)
|
61 |
if (close > -1) stream.backUp(cur.length - close);
|
62 |
-
else if (
|
63 |
stream.backUp(cur.length);
|
64 |
if (!stream.match(pat, false)) stream.match(cur);
|
65 |
}
|
57 |
}
|
58 |
function maybeBackup(stream, pat, style) {
|
59 |
var cur = stream.current();
|
60 |
+
var close = cur.search(pat);
|
61 |
if (close > -1) stream.backUp(cur.length - close);
|
62 |
+
else if (cur.match(/<\/?$/)) {
|
63 |
stream.backUp(cur.length);
|
64 |
if (!stream.match(pat, false)) stream.match(cur);
|
65 |
}
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/mode/javascript/javascript.js
CHANGED
@@ -482,8 +482,11 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
|
|
482 |
function maybetype(type) {
|
483 |
if (isTS && type == ":") return cont(typedef);
|
484 |
}
|
|
|
|
|
|
|
485 |
function typedef(type) {
|
486 |
-
if (type == "variable"){cx.marked = "variable-3"; return cont();}
|
487 |
}
|
488 |
function vardef() {
|
489 |
return pass(pattern, maybetype, maybeAssign, vardefCont);
|
@@ -538,7 +541,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
|
|
538 |
}
|
539 |
function funarg(type) {
|
540 |
if (type == "spread") return cont(funarg);
|
541 |
-
return pass(pattern, maybetype);
|
542 |
}
|
543 |
function className(type, value) {
|
544 |
if (type == "variable") {register(value); return cont(classNameAfter);}
|
@@ -698,4 +701,4 @@ CodeMirror.defineMIME("application/ld+json", {name: "javascript", jsonld: true})
|
|
698 |
CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true });
|
699 |
CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
|
700 |
|
701 |
-
});
|
482 |
function maybetype(type) {
|
483 |
if (isTS && type == ":") return cont(typedef);
|
484 |
}
|
485 |
+
function maybedefault(_, value) {
|
486 |
+
if (value == "=") return cont(expressionNoComma);
|
487 |
+
}
|
488 |
function typedef(type) {
|
489 |
+
if (type == "variable") {cx.marked = "variable-3"; return cont();}
|
490 |
}
|
491 |
function vardef() {
|
492 |
return pass(pattern, maybetype, maybeAssign, vardefCont);
|
541 |
}
|
542 |
function funarg(type) {
|
543 |
if (type == "spread") return cont(funarg);
|
544 |
+
return pass(pattern, maybetype, maybedefault);
|
545 |
}
|
546 |
function className(type, value) {
|
547 |
if (type == "variable") {register(value); return cont(classNameAfter);}
|
701 |
CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true });
|
702 |
CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
|
703 |
|
704 |
+
});
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/3024-day.css
CHANGED
@@ -10,8 +10,9 @@
|
|
10 |
|
11 |
.cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}
|
12 |
.cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}
|
13 |
-
|
14 |
-
.cm-s-3024-day.CodeMirror
|
|
|
15 |
|
16 |
.cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}
|
17 |
.cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; }
|
10 |
|
11 |
.cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}
|
12 |
.cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}
|
13 |
+
|
14 |
+
.cm-s-3024-day .CodeMirror-line::selection, .cm-s-3024-day .CodeMirror-line > span::selection, .cm-s-3024-day .CodeMirror-line > span > span::selection { background: #d6d5d4; }
|
15 |
+
.cm-s-3024-day .CodeMirror-line::-moz-selection, .cm-s-3024-day .CodeMirror-line > span::-moz-selection, .cm-s-3024-day .CodeMirror-line > span > span::selection { background: #d9d9d9; }
|
16 |
|
17 |
.cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}
|
18 |
.cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/3024-night.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}
|
12 |
.cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}
|
13 |
-
.cm-s-3024-night.CodeMirror ::selection { background: rgba(58, 52, 50, .99); }
|
14 |
-
.cm-s-3024-night.CodeMirror ::-moz-selection { background: rgba(58, 52, 50, .99); }
|
15 |
.cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}
|
16 |
.cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; }
|
17 |
.cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; }
|
10 |
|
11 |
.cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}
|
12 |
.cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}
|
13 |
+
.cm-s-3024-night .CodeMirror-line::selection, .cm-s-3024-night .CodeMirror-line > span::selection, .cm-s-3024-night .CodeMirror-line > span > span::selection { background: rgba(58, 52, 50, .99); }
|
14 |
+
.cm-s-3024-night .CodeMirror-line::-moz-selection, .cm-s-3024-night .CodeMirror-line > span::-moz-selection, .cm-s-3024-night .CodeMirror-line > span > span::-moz-selection { background: rgba(58, 52, 50, .99); }
|
15 |
.cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}
|
16 |
.cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; }
|
17 |
.cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/ambiance.css
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
/* Color scheme */
|
4 |
|
|
|
|
|
|
|
5 |
.cm-s-ambiance .cm-keyword { color: #cda869; }
|
6 |
.cm-s-ambiance .cm-atom { color: #CF7EA9; }
|
7 |
.cm-s-ambiance .cm-number { color: #78CF8A; }
|
@@ -20,8 +23,6 @@
|
|
20 |
.cm-s-ambiance .cm-bracket { color: #24C2C7; }
|
21 |
.cm-s-ambiance .cm-tag { color: #fee4ff }
|
22 |
.cm-s-ambiance .cm-attribute { color: #9B859D; }
|
23 |
-
.cm-s-ambiance .cm-header {color: blue;}
|
24 |
-
.cm-s-ambiance .cm-quote { color: #24C2C7; }
|
25 |
.cm-s-ambiance .cm-hr { color: pink; }
|
26 |
.cm-s-ambiance .cm-link { color: #F4C20B; }
|
27 |
.cm-s-ambiance .cm-special { color: #FF9D00; }
|
@@ -32,8 +33,8 @@
|
|
32 |
|
33 |
.cm-s-ambiance .CodeMirror-selected { background: rgba(255, 255, 255, 0.15); }
|
34 |
.cm-s-ambiance.CodeMirror-focused .CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
|
35 |
-
.cm-s-ambiance.CodeMirror ::selection { background: rgba(255, 255, 255, 0.10); }
|
36 |
-
.cm-s-ambiance.CodeMirror ::-moz-selection { background: rgba(255, 255, 255, 0.10); }
|
37 |
|
38 |
/* Editor styling */
|
39 |
|
2 |
|
3 |
/* Color scheme */
|
4 |
|
5 |
+
.cm-s-ambiance .cm-header {color: blue;}
|
6 |
+
.cm-s-ambiance .cm-quote { color: #24C2C7; }
|
7 |
+
|
8 |
.cm-s-ambiance .cm-keyword { color: #cda869; }
|
9 |
.cm-s-ambiance .cm-atom { color: #CF7EA9; }
|
10 |
.cm-s-ambiance .cm-number { color: #78CF8A; }
|
23 |
.cm-s-ambiance .cm-bracket { color: #24C2C7; }
|
24 |
.cm-s-ambiance .cm-tag { color: #fee4ff }
|
25 |
.cm-s-ambiance .cm-attribute { color: #9B859D; }
|
|
|
|
|
26 |
.cm-s-ambiance .cm-hr { color: pink; }
|
27 |
.cm-s-ambiance .cm-link { color: #F4C20B; }
|
28 |
.cm-s-ambiance .cm-special { color: #FF9D00; }
|
33 |
|
34 |
.cm-s-ambiance .CodeMirror-selected { background: rgba(255, 255, 255, 0.15); }
|
35 |
.cm-s-ambiance.CodeMirror-focused .CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
|
36 |
+
.cm-s-ambiance .CodeMirror-line::selection, .cm-s-ambiance .CodeMirror-line > span::selection, .cm-s-ambiance .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
|
37 |
+
.cm-s-ambiance .CodeMirror-line::-moz-selection, .cm-s-ambiance .CodeMirror-line > span::-moz-selection, .cm-s-ambiance .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
|
38 |
|
39 |
/* Editor styling */
|
40 |
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/base16-dark.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;}
|
12 |
.cm-s-base16-dark div.CodeMirror-selected {background: #303030 !important;}
|
13 |
-
.cm-s-base16-dark.CodeMirror ::selection { background: rgba(48, 48, 48, .99); }
|
14 |
-
.cm-s-base16-dark.CodeMirror ::-moz-selection { background: rgba(48, 48, 48, .99); }
|
15 |
.cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;}
|
16 |
.cm-s-base16-dark .CodeMirror-guttermarker { color: #ac4142; }
|
17 |
.cm-s-base16-dark .CodeMirror-guttermarker-subtle { color: #505050; }
|
10 |
|
11 |
.cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;}
|
12 |
.cm-s-base16-dark div.CodeMirror-selected {background: #303030 !important;}
|
13 |
+
.cm-s-base16-dark .CodeMirror-line::selection, .cm-s-base16-dark .CodeMirror-line > span::selection, .cm-s-base16-dark .CodeMirror-line > span > span::selection { background: rgba(48, 48, 48, .99); }
|
14 |
+
.cm-s-base16-dark .CodeMirror-line::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(48, 48, 48, .99); }
|
15 |
.cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;}
|
16 |
.cm-s-base16-dark .CodeMirror-guttermarker { color: #ac4142; }
|
17 |
.cm-s-base16-dark .CodeMirror-guttermarker-subtle { color: #505050; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/base16-light.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;}
|
12 |
.cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;}
|
13 |
-
.cm-s-base16-light.CodeMirror ::selection { background: #e0e0e0; }
|
14 |
-
.cm-s-base16-light.CodeMirror ::-moz-selection { background: #e0e0e0; }
|
15 |
.cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;}
|
16 |
.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }
|
17 |
.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }
|
10 |
|
11 |
.cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;}
|
12 |
.cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;}
|
13 |
+
.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }
|
14 |
+
.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }
|
15 |
.cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;}
|
16 |
.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }
|
17 |
.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/blackboard.css
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
|
4 |
.cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; }
|
5 |
-
.cm-s-blackboard.CodeMirror ::selection { background: rgba(37, 59, 118, .99); }
|
6 |
-
.cm-s-blackboard.CodeMirror ::-moz-selection { background: rgba(37, 59, 118, .99); }
|
7 |
.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
|
8 |
.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
|
9 |
.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; }
|
2 |
|
3 |
.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
|
4 |
.cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; }
|
5 |
+
.cm-s-blackboard .CodeMirror-line::selection, .cm-s-blackboard .CodeMirror-line > span::selection, .cm-s-blackboard .CodeMirror-line > span > span::selection { background: rgba(37, 59, 118, .99); }
|
6 |
+
.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); }
|
7 |
.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
|
8 |
.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
|
9 |
.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/cobalt.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
.cm-s-cobalt.CodeMirror { background: #002240; color: white; }
|
2 |
.cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }
|
3 |
-
.cm-s-cobalt.CodeMirror ::selection { background: rgba(179, 101, 57, .99); }
|
4 |
-
.cm-s-cobalt.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); }
|
5 |
.cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
6 |
.cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; }
|
7 |
.cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
1 |
.cm-s-cobalt.CodeMirror { background: #002240; color: white; }
|
2 |
.cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }
|
3 |
+
.cm-s-cobalt .CodeMirror-line::selection, .cm-s-cobalt .CodeMirror-line > span::selection, .cm-s-cobalt .CodeMirror-line > span > span::selection { background: rgba(179, 101, 57, .99); }
|
4 |
+
.cm-s-cobalt .CodeMirror-line::-moz-selection, .cm-s-cobalt .CodeMirror-line > span::-moz-selection, .cm-s-cobalt .CodeMirror-line > span > span::-moz-selection { background: rgba(179, 101, 57, .99); }
|
5 |
.cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
6 |
.cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; }
|
7 |
.cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/erlang-dark.css
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
.cm-s-erlang-dark.CodeMirror { background: #002240; color: white; }
|
2 |
.cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; }
|
3 |
-
.cm-s-erlang-dark.CodeMirror ::selection { background: rgba(179, 101, 57, .99); }
|
4 |
-
.cm-s-erlang-dark.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); }
|
5 |
.cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
6 |
.cm-s-erlang-dark .CodeMirror-guttermarker { color: white; }
|
7 |
.cm-s-erlang-dark .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
8 |
.cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; }
|
9 |
.cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
10 |
|
|
|
11 |
.cm-s-erlang-dark span.cm-atom { color: #f133f1; }
|
12 |
.cm-s-erlang-dark span.cm-attribute { color: #ff80e1; }
|
13 |
.cm-s-erlang-dark span.cm-bracket { color: #ff9d00; }
|
@@ -20,7 +21,6 @@
|
|
20 |
.cm-s-erlang-dark span.cm-operator { color: #d55; }
|
21 |
.cm-s-erlang-dark span.cm-property { color: #ccc; }
|
22 |
.cm-s-erlang-dark span.cm-qualifier { color: #ccc; }
|
23 |
-
.cm-s-erlang-dark span.cm-quote { color: #ccc; }
|
24 |
.cm-s-erlang-dark span.cm-special { color: #ffbbbb; }
|
25 |
.cm-s-erlang-dark span.cm-string { color: #3ad900; }
|
26 |
.cm-s-erlang-dark span.cm-string-2 { color: #ccc; }
|
1 |
.cm-s-erlang-dark.CodeMirror { background: #002240; color: white; }
|
2 |
.cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; }
|
3 |
+
.cm-s-erlang-dark .CodeMirror-line::selection, .cm-s-erlang-dark .CodeMirror-line > span::selection, .cm-s-erlang-dark .CodeMirror-line > span > span::selection { background: rgba(179, 101, 57, .99); }
|
4 |
+
.cm-s-erlang-dark .CodeMirror-line::-moz-selection, .cm-s-erlang-dark .CodeMirror-line > span::-moz-selection, .cm-s-erlang-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(179, 101, 57, .99); }
|
5 |
.cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
6 |
.cm-s-erlang-dark .CodeMirror-guttermarker { color: white; }
|
7 |
.cm-s-erlang-dark .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
8 |
.cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; }
|
9 |
.cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
10 |
|
11 |
+
.cm-s-erlang-dark span.cm-quote { color: #ccc; }
|
12 |
.cm-s-erlang-dark span.cm-atom { color: #f133f1; }
|
13 |
.cm-s-erlang-dark span.cm-attribute { color: #ff80e1; }
|
14 |
.cm-s-erlang-dark span.cm-bracket { color: #ff9d00; }
|
21 |
.cm-s-erlang-dark span.cm-operator { color: #d55; }
|
22 |
.cm-s-erlang-dark span.cm-property { color: #ccc; }
|
23 |
.cm-s-erlang-dark span.cm-qualifier { color: #ccc; }
|
|
|
24 |
.cm-s-erlang-dark span.cm-special { color: #ffbbbb; }
|
25 |
.cm-s-erlang-dark span.cm-string { color: #3ad900; }
|
26 |
.cm-s-erlang-dark span.cm-string-2 { color: #ccc; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/lesser-dark.css
CHANGED
@@ -7,8 +7,8 @@ Ported to CodeMirror by Peter Kroon
|
|
7 |
}
|
8 |
.cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }
|
9 |
.cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/
|
10 |
-
.cm-s-lesser-dark.CodeMirror ::selection { background: rgba(69, 68, 59, .99); }
|
11 |
-
.cm-s-lesser-dark.CodeMirror ::-moz-selection { background: rgba(69, 68, 59, .99); }
|
12 |
.cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
13 |
.cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/
|
14 |
|
@@ -19,6 +19,8 @@ Ported to CodeMirror by Peter Kroon
|
|
19 |
.cm-s-lesser-dark .CodeMirror-guttermarker-subtle { color: #777; }
|
20 |
.cm-s-lesser-dark .CodeMirror-linenumber { color: #777; }
|
21 |
|
|
|
|
|
22 |
.cm-s-lesser-dark span.cm-keyword { color: #599eff; }
|
23 |
.cm-s-lesser-dark span.cm-atom { color: #C2B470; }
|
24 |
.cm-s-lesser-dark span.cm-number { color: #B35E4D; }
|
@@ -37,8 +39,6 @@ Ported to CodeMirror by Peter Kroon
|
|
37 |
.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; }
|
38 |
.cm-s-lesser-dark span.cm-tag { color: #669199; }
|
39 |
.cm-s-lesser-dark span.cm-attribute {color: #00c;}
|
40 |
-
.cm-s-lesser-dark span.cm-header {color: #a0a;}
|
41 |
-
.cm-s-lesser-dark span.cm-quote {color: #090;}
|
42 |
.cm-s-lesser-dark span.cm-hr {color: #999;}
|
43 |
.cm-s-lesser-dark span.cm-link {color: #00c;}
|
44 |
.cm-s-lesser-dark span.cm-error { color: #9d1e15; }
|
7 |
}
|
8 |
.cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }
|
9 |
.cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/
|
10 |
+
.cm-s-lesser-dark .CodeMirror-line::selection, .cm-s-lesser-dark .CodeMirror-line > span::selection, .cm-s-lesser-dark .CodeMirror-line > span > span::selection { background: rgba(69, 68, 59, .99); }
|
11 |
+
.cm-s-lesser-dark .CodeMirror-line::-moz-selection, .cm-s-lesser-dark .CodeMirror-line > span::-moz-selection, .cm-s-lesser-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(69, 68, 59, .99); }
|
12 |
.cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
13 |
.cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/
|
14 |
|
19 |
.cm-s-lesser-dark .CodeMirror-guttermarker-subtle { color: #777; }
|
20 |
.cm-s-lesser-dark .CodeMirror-linenumber { color: #777; }
|
21 |
|
22 |
+
.cm-s-lesser-dark span.cm-header {color: #a0a;}
|
23 |
+
.cm-s-lesser-dark span.cm-quote {color: #090;}
|
24 |
.cm-s-lesser-dark span.cm-keyword { color: #599eff; }
|
25 |
.cm-s-lesser-dark span.cm-atom { color: #C2B470; }
|
26 |
.cm-s-lesser-dark span.cm-number { color: #B35E4D; }
|
39 |
.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; }
|
40 |
.cm-s-lesser-dark span.cm-tag { color: #669199; }
|
41 |
.cm-s-lesser-dark span.cm-attribute {color: #00c;}
|
|
|
|
|
42 |
.cm-s-lesser-dark span.cm-hr {color: #999;}
|
43 |
.cm-s-lesser-dark span.cm-link {color: #00c;}
|
44 |
.cm-s-lesser-dark span.cm-error { color: #9d1e15; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/mbo.css
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
|
7 |
.cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffec;}
|
8 |
.cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}
|
9 |
-
.cm-s-mbo.CodeMirror ::selection { background: rgba(113, 108, 98, .99); }
|
10 |
-
.cm-s-mbo.CodeMirror ::-moz-selection { background: rgba(113, 108, 98, .99); }
|
11 |
.cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}
|
12 |
.cm-s-mbo .CodeMirror-guttermarker { color: white; }
|
13 |
.cm-s-mbo .CodeMirror-guttermarker-subtle { color: grey; }
|
6 |
|
7 |
.cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffec;}
|
8 |
.cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}
|
9 |
+
.cm-s-mbo .CodeMirror-line::selection, .cm-s-mbo .CodeMirror-line > span::selection, .cm-s-mbo .CodeMirror-line > span > span::selection { background: rgba(113, 108, 98, .99); }
|
10 |
+
.cm-s-mbo .CodeMirror-line::-moz-selection, .cm-s-mbo .CodeMirror-line > span::-moz-selection, .cm-s-mbo .CodeMirror-line > span > span::-moz-selection { background: rgba(113, 108, 98, .99); }
|
11 |
.cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}
|
12 |
.cm-s-mbo .CodeMirror-guttermarker { color: white; }
|
13 |
.cm-s-mbo .CodeMirror-guttermarker-subtle { color: grey; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/mdn-like.css
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
*/
|
10 |
.cm-s-mdn-like.CodeMirror { color: #999; background-color: #fff; }
|
11 |
.cm-s-mdn-like .CodeMirror-selected { background: #cfc !important; }
|
12 |
-
.cm-s-mdn-like.CodeMirror ::selection { background: #cfc; }
|
13 |
-
.cm-s-mdn-like.CodeMirror ::-moz-selection { background: #cfc; }
|
14 |
|
15 |
.cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; }
|
16 |
.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; padding-left: 8px; }
|
9 |
*/
|
10 |
.cm-s-mdn-like.CodeMirror { color: #999; background-color: #fff; }
|
11 |
.cm-s-mdn-like .CodeMirror-selected { background: #cfc !important; }
|
12 |
+
.cm-s-mdn-like .CodeMirror-line::selection, .cm-s-mdn-like .CodeMirror-line > span::selection, .cm-s-mdn-like .CodeMirror-line > span > span::selection { background: #cfc; }
|
13 |
+
.cm-s-mdn-like .CodeMirror-line::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span > span::-moz-selection { background: #cfc; }
|
14 |
|
15 |
.cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; }
|
16 |
.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; padding-left: 8px; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/midnight.css
CHANGED
@@ -15,8 +15,8 @@
|
|
15 |
.cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
16 |
|
17 |
.cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;}
|
18 |
-
.cm-s-midnight.CodeMirror ::selection { background: rgba(49, 77, 103, .99); }
|
19 |
-
.cm-s-midnight.CodeMirror ::-moz-selection { background: rgba(49, 77, 103, .99); }
|
20 |
.cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;}
|
21 |
.cm-s-midnight .CodeMirror-guttermarker { color: white; }
|
22 |
.cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
15 |
.cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
16 |
|
17 |
.cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;}
|
18 |
+
.cm-s-midnight .CodeMirror-line::selection, .cm-s-midnight .CodeMirror-line > span::selection, .cm-s-midnight .CodeMirror-line > span > span::selection { background: rgba(49, 77, 103, .99); }
|
19 |
+
.cm-s-midnight .CodeMirror-line::-moz-selection, .cm-s-midnight .CodeMirror-line > span::-moz-selection, .cm-s-midnight .CodeMirror-line > span > span::-moz-selection { background: rgba(49, 77, 103, .99); }
|
20 |
.cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;}
|
21 |
.cm-s-midnight .CodeMirror-guttermarker { color: white; }
|
22 |
.cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/monokai.css
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}
|
4 |
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
5 |
-
.cm-s-monokai.CodeMirror ::selection { background: rgba(73, 72, 62, .99); }
|
6 |
-
.cm-s-monokai.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); }
|
7 |
.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}
|
8 |
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
|
9 |
.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
2 |
|
3 |
.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}
|
4 |
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
5 |
+
.cm-s-monokai .CodeMirror-line::selection, .cm-s-monokai .CodeMirror-line > span::selection, .cm-s-monokai .CodeMirror-line > span > span::selection { background: rgba(73, 72, 62, .99); }
|
6 |
+
.cm-s-monokai .CodeMirror-line::-moz-selection, .cm-s-monokai .CodeMirror-line > span::-moz-selection, .cm-s-monokai .CodeMirror-line > span > span::-moz-selection { background: rgba(73, 72, 62, .99); }
|
7 |
.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}
|
8 |
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
|
9 |
.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/night.css
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
.cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; }
|
4 |
.cm-s-night div.CodeMirror-selected { background: #447 !important; }
|
5 |
-
.cm-s-night.CodeMirror ::selection { background: rgba(68, 68, 119, .99); }
|
6 |
-
.cm-s-night.CodeMirror ::-moz-selection { background: rgba(68, 68, 119, .99); }
|
7 |
.cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
|
8 |
.cm-s-night .CodeMirror-guttermarker { color: white; }
|
9 |
.cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; }
|
2 |
|
3 |
.cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; }
|
4 |
.cm-s-night div.CodeMirror-selected { background: #447 !important; }
|
5 |
+
.cm-s-night .CodeMirror-line::selection, .cm-s-night .CodeMirror-line > span::selection, .cm-s-night .CodeMirror-line > span > span::selection { background: rgba(68, 68, 119, .99); }
|
6 |
+
.cm-s-night .CodeMirror-line::-moz-selection, .cm-s-night .CodeMirror-line > span::-moz-selection, .cm-s-night .CodeMirror-line > span > span::-moz-selection { background: rgba(68, 68, 119, .99); }
|
7 |
.cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
|
8 |
.cm-s-night .CodeMirror-guttermarker { color: white; }
|
9 |
.cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/paraiso-dark.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;}
|
12 |
.cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;}
|
13 |
-
.cm-s-paraiso-dark.CodeMirror ::selection { background: rgba(65, 50, 63, .99); }
|
14 |
-
.cm-s-paraiso-dark.CodeMirror ::-moz-selection { background: rgba(65, 50, 63, .99); }
|
15 |
.cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;}
|
16 |
.cm-s-paraiso-dark .CodeMirror-guttermarker { color: #ef6155; }
|
17 |
.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle { color: #776e71; }
|
10 |
|
11 |
.cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;}
|
12 |
.cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;}
|
13 |
+
.cm-s-paraiso-dark .CodeMirror-line::selection, .cm-s-paraiso-dark .CodeMirror-line > span::selection, .cm-s-paraiso-dark .CodeMirror-line > span > span::selection { background: rgba(65, 50, 63, .99); }
|
14 |
+
.cm-s-paraiso-dark .CodeMirror-line::-moz-selection, .cm-s-paraiso-dark .CodeMirror-line > span::-moz-selection, .cm-s-paraiso-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(65, 50, 63, .99); }
|
15 |
.cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;}
|
16 |
.cm-s-paraiso-dark .CodeMirror-guttermarker { color: #ef6155; }
|
17 |
.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle { color: #776e71; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/paraiso-light.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;}
|
12 |
.cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;}
|
13 |
-
.cm-s-paraiso-light.CodeMirror ::selection { background: #b9b6b0; }
|
14 |
-
.cm-s-paraiso-light.CodeMirror ::-moz-selection { background: #b9b6b0; }
|
15 |
.cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;}
|
16 |
.cm-s-paraiso-light .CodeMirror-guttermarker { color: black; }
|
17 |
.cm-s-paraiso-light .CodeMirror-guttermarker-subtle { color: #8d8687; }
|
10 |
|
11 |
.cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;}
|
12 |
.cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;}
|
13 |
+
.cm-s-paraiso-light .CodeMirror-line::selection, .cm-s-paraiso-light .CodeMirror-line > span::selection, .cm-s-paraiso-light .CodeMirror-line > span > span::selection { background: #b9b6b0; }
|
14 |
+
.cm-s-paraiso-light .CodeMirror-line::-moz-selection, .cm-s-paraiso-light .CodeMirror-line > span::-moz-selection, .cm-s-paraiso-light .CodeMirror-line > span > span::-moz-selection { background: #b9b6b0; }
|
15 |
.cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;}
|
16 |
.cm-s-paraiso-light .CodeMirror-guttermarker { color: black; }
|
17 |
.cm-s-paraiso-light .CodeMirror-guttermarker-subtle { color: #8d8687; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/pastel-on-dark.css
CHANGED
@@ -14,8 +14,8 @@
|
|
14 |
font-size: 14px;
|
15 |
}
|
16 |
.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; }
|
17 |
-
.cm-s-pastel-on-dark.CodeMirror ::selection { background: rgba(221,240,255,0.2); }
|
18 |
-
.cm-s-pastel-on-dark.CodeMirror ::-moz-selection { background: rgba(221,240,255,0.2); }
|
19 |
|
20 |
.cm-s-pastel-on-dark .CodeMirror-gutters {
|
21 |
background: #34302f;
|
14 |
font-size: 14px;
|
15 |
}
|
16 |
.cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; }
|
17 |
+
.cm-s-pastel-on-dark .CodeMirror-line::selection, .cm-s-pastel-on-dark .CodeMirror-line > span::selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::selection { background: rgba(221,240,255,0.2); }
|
18 |
+
.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(221,240,255,0.2); }
|
19 |
|
20 |
.cm-s-pastel-on-dark .CodeMirror-gutters {
|
21 |
background: #34302f;
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/rubyblue.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
.cm-s-rubyblue.CodeMirror { background: #112435; color: white; }
|
2 |
.cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }
|
3 |
-
.cm-s-rubyblue.CodeMirror ::selection { background: rgba(56, 86, 111, 0.99); }
|
4 |
-
.cm-s-rubyblue.CodeMirror ::-moz-selection { background: rgba(56, 86, 111, 0.99); }
|
5 |
.cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; }
|
6 |
.cm-s-rubyblue .CodeMirror-guttermarker { color: white; }
|
7 |
.cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; }
|
1 |
.cm-s-rubyblue.CodeMirror { background: #112435; color: white; }
|
2 |
.cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }
|
3 |
+
.cm-s-rubyblue .CodeMirror-line::selection, .cm-s-rubyblue .CodeMirror-line > span::selection, .cm-s-rubyblue .CodeMirror-line > span > span::selection { background: rgba(56, 86, 111, 0.99); }
|
4 |
+
.cm-s-rubyblue .CodeMirror-line::-moz-selection, .cm-s-rubyblue .CodeMirror-line > span::-moz-selection, .cm-s-rubyblue .CodeMirror-line > span > span::-moz-selection { background: rgba(56, 86, 111, 0.99); }
|
5 |
.cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; }
|
6 |
.cm-s-rubyblue .CodeMirror-guttermarker { color: white; }
|
7 |
.cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/solarized.css
CHANGED
@@ -47,6 +47,8 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
47 |
text-shadow: none;
|
48 |
}
|
49 |
|
|
|
|
|
50 |
|
51 |
.cm-s-solarized .cm-keyword { color: #cb4b16 }
|
52 |
.cm-s-solarized .cm-atom { color: #d33682; }
|
@@ -73,8 +75,6 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
73 |
.cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }
|
74 |
.cm-s-solarized .cm-tag { color: #93a1a1 }
|
75 |
.cm-s-solarized .cm-attribute { color: #2aa198; }
|
76 |
-
.cm-s-solarized .cm-header { color: #586e75; }
|
77 |
-
.cm-s-solarized .cm-quote { color: #93a1a1; }
|
78 |
.cm-s-solarized .cm-hr {
|
79 |
color: transparent;
|
80 |
border-top: 1px solid #586e75;
|
@@ -96,11 +96,11 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
96 |
|
97 |
.cm-s-solarized.cm-s-dark .CodeMirror-selected { background: #073642; }
|
98 |
.cm-s-solarized.cm-s-dark.CodeMirror ::selection { background: rgba(7, 54, 66, 0.99); }
|
99 |
-
.cm-s-solarized.cm-s-dark.CodeMirror ::-moz-selection { background: rgba(7, 54, 66, 0.99); }
|
100 |
|
101 |
.cm-s-solarized.cm-s-light .CodeMirror-selected { background: #eee8d5; }
|
102 |
-
.cm-s-solarized.cm-s-light.CodeMirror ::selection { background: #eee8d5; }
|
103 |
-
.cm-s-solarized.cm-s-
|
104 |
|
105 |
/* Editor styling */
|
106 |
|
47 |
text-shadow: none;
|
48 |
}
|
49 |
|
50 |
+
.cm-s-solarized .cm-header { color: #586e75; }
|
51 |
+
.cm-s-solarized .cm-quote { color: #93a1a1; }
|
52 |
|
53 |
.cm-s-solarized .cm-keyword { color: #cb4b16 }
|
54 |
.cm-s-solarized .cm-atom { color: #d33682; }
|
75 |
.cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }
|
76 |
.cm-s-solarized .cm-tag { color: #93a1a1 }
|
77 |
.cm-s-solarized .cm-attribute { color: #2aa198; }
|
|
|
|
|
78 |
.cm-s-solarized .cm-hr {
|
79 |
color: transparent;
|
80 |
border-top: 1px solid #586e75;
|
96 |
|
97 |
.cm-s-solarized.cm-s-dark .CodeMirror-selected { background: #073642; }
|
98 |
.cm-s-solarized.cm-s-dark.CodeMirror ::selection { background: rgba(7, 54, 66, 0.99); }
|
99 |
+
.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection, .cm-s-dark .CodeMirror-line > span::-moz-selection, .cm-s-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(7, 54, 66, 0.99); }
|
100 |
|
101 |
.cm-s-solarized.cm-s-light .CodeMirror-selected { background: #eee8d5; }
|
102 |
+
.cm-s-solarized.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: #eee8d5; }
|
103 |
+
.cm-s-solarized.cm-s-ligh .CodeMirror-line::-moz-selection, .cm-s-ligh .CodeMirror-line > span::-moz-selection, .cm-s-ligh .CodeMirror-line > span > span::-moz-selection { background: #eee8d5; }
|
104 |
|
105 |
/* Editor styling */
|
106 |
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/the-matrix.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
.cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
|
2 |
.cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; }
|
3 |
-
.cm-s-the-matrix.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); }
|
4 |
-
.cm-s-the-matrix.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); }
|
5 |
.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
|
6 |
.cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; }
|
7 |
.cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; }
|
1 |
.cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
|
2 |
.cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; }
|
3 |
+
.cm-s-the-matrix .CodeMirror-line::selection, .cm-s-the-matrix .CodeMirror-line > span::selection, .cm-s-the-matrix .CodeMirror-line > span > span::selection { background: rgba(45, 45, 45, 0.99); }
|
4 |
+
.cm-s-the-matrix .CodeMirror-line::-moz-selection, .cm-s-the-matrix .CodeMirror-line > span::-moz-selection, .cm-s-the-matrix .CodeMirror-line > span > span::-moz-selection { background: rgba(45, 45, 45, 0.99); }
|
5 |
.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
|
6 |
.cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; }
|
7 |
.cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/tomorrow-night-eighties.css
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
.cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;}
|
12 |
.cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;}
|
13 |
-
.cm-s-tomorrow-night-eighties.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); }
|
14 |
-
.cm-s-tomorrow-night-eighties.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); }
|
15 |
.cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;}
|
16 |
.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker { color: #f2777a; }
|
17 |
.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle { color: #777; }
|
10 |
|
11 |
.cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;}
|
12 |
.cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;}
|
13 |
+
.cm-s-tomorrow-night-eighties .CodeMirror-line::selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span::selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span > span::selection { background: rgba(45, 45, 45, 0.99); }
|
14 |
+
.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span::-moz-selection, .cm-s-tomorrow-night-eighties .CodeMirror-line > span > span::-moz-selection { background: rgba(45, 45, 45, 0.99); }
|
15 |
.cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;}
|
16 |
.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker { color: #f2777a; }
|
17 |
.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle { color: #777; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/ttcn.css
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
.cm-atom {color: #219;}
|
3 |
.cm-attribute {color: #00c;}
|
4 |
.cm-bracket {color: #997;}
|
@@ -6,7 +14,6 @@
|
|
6 |
.cm-def {color: #00f;}
|
7 |
.cm-em {font-style: italic;}
|
8 |
.cm-error {color: #f00;}
|
9 |
-
.cm-header {color: #00f; font-weight: bold;}
|
10 |
.cm-hr {color: #999;}
|
11 |
.cm-invalidchar {color: #f00;}
|
12 |
.cm-keyword {font-weight:bold}
|
@@ -15,7 +22,6 @@
|
|
15 |
.cm-negative {color: #d44;}
|
16 |
.cm-positive {color: #292;}
|
17 |
.cm-qualifier {color: #555;}
|
18 |
-
.cm-quote {color: #090;}
|
19 |
.cm-strikethrough {text-decoration: line-through;}
|
20 |
.cm-string {color: #006400;}
|
21 |
.cm-string-2 {color: #f50;}
|
@@ -25,13 +31,6 @@
|
|
25 |
.cm-variable-2 {color: #05a;}
|
26 |
.cm-variable-3 {color: #085;}
|
27 |
|
28 |
-
.cm-negative {color: #d44;}
|
29 |
-
.cm-positive {color: #292;}
|
30 |
-
.cm-header, .cm-strong {font-weight: bold;}
|
31 |
-
.cm-em {font-style: italic;}
|
32 |
-
.cm-link {text-decoration: underline;}
|
33 |
-
.cm-strikethrough {text-decoration: line-through;}
|
34 |
-
|
35 |
.cm-s-default .cm-error {color: #f00;}
|
36 |
.cm-invalidchar {color: #f00;}
|
37 |
|
1 |
+
.cm-quote {color: #090;}
|
2 |
+
.cm-negative {color: #d44;}
|
3 |
+
.cm-positive {color: #292;}
|
4 |
+
.cm-header, .cm-strong {font-weight: bold;}
|
5 |
+
.cm-em {font-style: italic;}
|
6 |
+
.cm-link {text-decoration: underline;}
|
7 |
+
.cm-strikethrough {text-decoration: line-through;}
|
8 |
+
.cm-header {color: #00f; font-weight: bold;}
|
9 |
+
|
10 |
.cm-atom {color: #219;}
|
11 |
.cm-attribute {color: #00c;}
|
12 |
.cm-bracket {color: #997;}
|
14 |
.cm-def {color: #00f;}
|
15 |
.cm-em {font-style: italic;}
|
16 |
.cm-error {color: #f00;}
|
|
|
17 |
.cm-hr {color: #999;}
|
18 |
.cm-invalidchar {color: #f00;}
|
19 |
.cm-keyword {font-weight:bold}
|
22 |
.cm-negative {color: #d44;}
|
23 |
.cm-positive {color: #292;}
|
24 |
.cm-qualifier {color: #555;}
|
|
|
25 |
.cm-strikethrough {text-decoration: line-through;}
|
26 |
.cm-string {color: #006400;}
|
27 |
.cm-string-2 {color: #f50;}
|
31 |
.cm-variable-2 {color: #05a;}
|
32 |
.cm-variable-3 {color: #085;}
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
.cm-s-default .cm-error {color: #f00;}
|
35 |
.cm-invalidchar {color: #f00;}
|
36 |
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/twilight.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
.cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/
|
2 |
.cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/
|
3 |
-
.cm-s-twilight.CodeMirror ::selection { background: rgba(50, 50, 50, 0.99); }
|
4 |
-
.cm-s-twilight.CodeMirror ::-moz-selection { background: rgba(50, 50, 50, 0.99); }
|
5 |
|
6 |
.cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }
|
7 |
.cm-s-twilight .CodeMirror-guttermarker { color: white; }
|
1 |
.cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/
|
2 |
.cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/
|
3 |
+
.cm-s-twilight .CodeMirror-line::selection, .cm-s-twilight .CodeMirror-line > span::selection, .cm-s-twilight .CodeMirror-line > span > span::selection { background: rgba(50, 50, 50, 0.99); }
|
4 |
+
.cm-s-twilight .CodeMirror-line::-moz-selection, .cm-s-twilight .CodeMirror-line > span::-moz-selection, .cm-s-twilight .CodeMirror-line > span > span::-moz-selection { background: rgba(50, 50, 50, 0.99); }
|
5 |
|
6 |
.cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }
|
7 |
.cm-s-twilight .CodeMirror-guttermarker { color: white; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/vibrant-ink.css
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }
|
4 |
.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }
|
5 |
-
.cm-s-vibrant-ink.CodeMirror ::selection { background: rgba(53, 73, 60, 0.99); }
|
6 |
-
.cm-s-vibrant-ink.CodeMirror ::-moz-selection { background: rgba(53, 73, 60, 0.99); }
|
7 |
|
8 |
.cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
9 |
.cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; }
|
2 |
|
3 |
.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }
|
4 |
.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }
|
5 |
+
.cm-s-vibrant-ink .CodeMirror-line::selection, .cm-s-vibrant-ink .CodeMirror-line > span::selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::selection { background: rgba(53, 73, 60, 0.99); }
|
6 |
+
.cm-s-vibrant-ink .CodeMirror-line::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span::-moz-selection, .cm-s-vibrant-ink .CodeMirror-line > span > span::-moz-selection { background: rgba(53, 73, 60, 0.99); }
|
7 |
|
8 |
.cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
|
9 |
.cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/codemirror/theme/xq-dark.css
CHANGED
@@ -22,8 +22,8 @@ THE SOFTWARE.
|
|
22 |
*/
|
23 |
.cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }
|
24 |
.cm-s-xq-dark .CodeMirror-selected { background: #27007A !important; }
|
25 |
-
.cm-s-xq-dark.CodeMirror ::selection { background: rgba(39, 0, 122, 0.99); }
|
26 |
-
.cm-s-xq-dark.CodeMirror ::-moz-selection { background: rgba(39, 0, 122, 0.99); }
|
27 |
.cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
|
28 |
.cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; }
|
29 |
.cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; }
|
22 |
*/
|
23 |
.cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }
|
24 |
.cm-s-xq-dark .CodeMirror-selected { background: #27007A !important; }
|
25 |
+
.cm-s-xq-dark .CodeMirror-line::selection, .cm-s-xq-dark .CodeMirror-line > span::selection, .cm-s-xq-dark .CodeMirror-line > span > span::selection { background: rgba(39, 0, 122, 0.99); }
|
26 |
+
.cm-s-xq-dark .CodeMirror-line::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span::-moz-selection, .cm-s-xq-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(39, 0, 122, 0.99); }
|
27 |
.cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
|
28 |
.cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; }
|
29 |
.cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; }
|
js/tiny_mce/plugins/esites_editor/js/vendor/requirejs/require.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
RequireJS 2.1.
|
3 |
Available via the MIT or new BSD license.
|
4 |
see: http://github.com/jrburke/requirejs for details
|
5 |
*/
|
@@ -19,18 +19,18 @@ this.map.url;S[a]||(S[a]=!0,i.load(this.map.id,a))},check:function(){if(this.ena
|
|
19 |
(f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=l;this.exports=f;if(this.map.isDefine&&!this.ignore&&(r[c]=f,g.onResourceLoad))g.onResourceLoad(i,this.map,this.depMaps);y(c);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a=
|
20 |
this.map,b=a.id,d=p(a.prefix);this.depMaps.push(d);q(d,"defined",u(this,function(f){var l,d;d=m(aa,this.map.id);var e=this.map.name,P=this.map.parentMap?this.map.parentMap.name:null,n=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(e=f.normalize(e,function(a){return c(a,P,!0)})||""),f=p(a.prefix+"!"+e,this.map.parentMap),q(f,"defined",u(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),d=m(h,f.id)){this.depMaps.push(f);
|
21 |
if(this.events.error)d.on("error",u(this,function(a){this.emit("error",a)}));d.enable()}}else d?(this.map.url=i.nameToUrl(d),this.load()):(l=u(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),l.error=u(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(h,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),l.fromText=u(this,function(f,c){var d=a.name,e=p(d),P=M;c&&(f=c);P&&(M=!1);s(e);t(j.config,b)&&(j.config[d]=j.config[b]);try{g.exec(f)}catch(h){return w(C("fromtexteval",
|
22 |
-
"fromText eval for "+b+" failed: "+h,h,[b]))}P&&(M=!0);this.depMaps.push(e);i.completeLoad(d);n([d],l)}),f.load(a.name,n,l,j))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){V[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,u(this,function(a,b){var c,f;if("string"===typeof a){a=p(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=m(L,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;q(a,"defined",u(this,function(a){this.
|
23 |
-
a)
|
24 |
-
registry:h,defined:r,urlFetched:S,defQueue:A,Module:Z,makeModuleMap:p,nextTick:g.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=j.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(j[b]||(j[b]={}),U(j[b],a,!0,!0)):j[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(aa[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=
|
25 |
-
b[c]=a}),j.shim=b);a.packages&&v(a.packages,function(a){var b,a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(j.paths[b]=a.location);j.pkgs[b]=a.name+"/"+(a.main||"main").replace(ia,"").replace(Q,"")});B(h,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=p(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ba,arguments));return b||a.exports&&da(a.exports)}},makeRequire:function(a,
|
26 |
-
q;e.enableBuildCallback&&(d&&G(d))&&(d.__requireJsBuild=!0);if("string"===typeof c){if(G(d))return w(C("requireargs","Invalid require call"),m);if(a&&t(L,c))return L[c](h[a.id]);if(g.get)return g.get(i,c,a,j);n=p(c,a,!1,!0);n=n.id;return!t(r,n)?w(C("notloaded",'Module name "'+n+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):r[n]}J();i.nextTick(function(){J();q=s(p(null,a));q.skipMap=e.skipMap;q.init(c,d,m,{enabled:!0});D()});return j}e=e||{};U(j,
|
27 |
-
e=b.lastIndexOf("."),k=b.split("/")[0];if(-1!==e&&(!("."===k||".."===k)||1<e))d=b.substring(e,b.length),b=b.substring(0,e);return i.nameToUrl(c(b,a&&a.id,!0),d,!0)},defined:function(b){return t(r,p(b,a,!1,!0).id)},specified:function(b){b=p(b,a,!1,!0).id;return t(r,b)||t(h,b)}});a||(j.undef=function(b){x();var c=p(b,a,!0),e=m(h,b);d(b);delete r[b];delete S[c.url];delete $[b];T(A,function(a,c){a[0]===b&&A.splice(c,1)});e&&(e.events.defined&&($[b]=e.events),
|
28 |
-
s(a).enable()},completeLoad:function(a){var b,c,d=m(j.shim,a)||{},g=d.exports;for(x();A.length;){c=A.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);E(c)}c=m(h,a);if(!b&&!t(r,a)&&c&&!c.inited){if(j.enforceDefine&&(!g||!da(g)))return e(a)?void 0:w(C("nodefine","No define call for "+a,null,[a]));E([a,d.deps||[],d.exportsFn])}D()},nameToUrl:function(a,b,c){var d,e,h;(d=m(j.pkgs,a))&&(a=d);if(d=m(aa,a))return i.nameToUrl(d,b,c);if(g.jsExtRegExp.test(a))d=
|
29 |
-
a=a.split("/");for(e=a.length;0<e;e-=1)if(h=a.slice(0,e).join("/"),h=m(d,h)){H(h)&&(h=h[0]);a.splice(0,e,h);break}d=a.join("/");d+=b||(/^data\:|\?/.test(d)||c?"":".js");d=("/"===d.charAt(0)||d.match(/^[\w\+\.\-]+:/)?"":j.baseUrl)+d}return j.urlArgs?d+((-1===d.indexOf("?")?"?":"&")+j.urlArgs):d},load:function(a,b){g.load(i,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||ja.test((a.currentTarget||a.srcElement).readyState))N=null,
|
30 |
-
onScriptError:function(a){var b=I(a);if(!e(b.id))return w(C("scripterror","Script error for: "+b.id,a,[b.id]))}};i.require=i.makeRequire();return i}var g,x,y,D,I,E,N,J,s,O,ka=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,la=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,Q=/\.js$/,ia=/^\.\//;x=Object.prototype;var K=x.toString,fa=x.hasOwnProperty,ha=Array.prototype.splice,z=!!("undefined"!==typeof window&&"undefined"!==typeof navigator&&window.document),ea=!z&&"undefined"!==
|
31 |
-
z&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,Y="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),F={},q={},R=[],M=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(G(requirejs))return;q=requirejs;requirejs=void 0}"undefined"!==typeof require&&!G(require)&&(q=require,require=void 0);g=requirejs=function(b,c,d,e){var n,p="_";!H(b)&&"string"!==typeof b&&(n=b,H(c)?(b=c,c=d,d=e):b=[]);n&&n.context&&(p=n.context);
|
32 |
-
n&&e.configure(n);return e.require(b,c,d)};g.config=function(b){return g(b)};g.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=g);g.version="2.1.
|
33 |
-
x.head=D.parentNode;g.onError=ca;g.createNode=function(b){var c=b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};g.load=function(b,c,d){var e=b&&b.config||{};if(z)return e=g.createNode(e,c,d),e.setAttribute("data-requirecontext",b.contextName),e.setAttribute("data-requiremodule",c),e.attachEvent&&!(e.attachEvent.toString&&
|
34 |
-
|
35 |
-
s=E.pop(),O=E.length?E.join("/")+"/":"./",q.baseUrl=O),s=s.replace(Q,""),g.jsExtRegExp.test(s)&&(s=I),q.deps=q.deps?q.deps.concat(s):[s],!0});define=function(b,c,d){var e,g;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(ka,"").replace(la,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(M){if(!(e=J))N&&"interactive"===N.readyState||T(document.getElementsByTagName("script"),
|
36 |
-
b.readyState)return N=b}),e=N;e&&(b||(b=e.getAttribute("data-requiremodule")),g=F[e.getAttribute("data-requirecontext")])}(g?g.defQueue:R).push([b,c,d])};define.amd={jQuery:!0};g.exec=function(b){return eval(b)};g(q)}})(this);
|
1 |
/*
|
2 |
+
RequireJS 2.1.18 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
|
3 |
Available via the MIT or new BSD license.
|
4 |
see: http://github.com/jrburke/requirejs for details
|
5 |
*/
|
19 |
(f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=l;this.exports=f;if(this.map.isDefine&&!this.ignore&&(r[c]=f,g.onResourceLoad))g.onResourceLoad(i,this.map,this.depMaps);y(c);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a=
|
20 |
this.map,b=a.id,d=p(a.prefix);this.depMaps.push(d);q(d,"defined",u(this,function(f){var l,d;d=m(aa,this.map.id);var e=this.map.name,P=this.map.parentMap?this.map.parentMap.name:null,n=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(e=f.normalize(e,function(a){return c(a,P,!0)})||""),f=p(a.prefix+"!"+e,this.map.parentMap),q(f,"defined",u(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),d=m(h,f.id)){this.depMaps.push(f);
|
21 |
if(this.events.error)d.on("error",u(this,function(a){this.emit("error",a)}));d.enable()}}else d?(this.map.url=i.nameToUrl(d),this.load()):(l=u(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),l.error=u(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(h,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),l.fromText=u(this,function(f,c){var d=a.name,e=p(d),P=M;c&&(f=c);P&&(M=!1);s(e);t(j.config,b)&&(j.config[d]=j.config[b]);try{g.exec(f)}catch(h){return w(C("fromtexteval",
|
22 |
+
"fromText eval for "+b+" failed: "+h,h,[b]))}P&&(M=!0);this.depMaps.push(e);i.completeLoad(d);n([d],l)}),f.load(a.name,n,l,j))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){V[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,u(this,function(a,b){var c,f;if("string"===typeof a){a=p(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=m(L,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;q(a,"defined",u(this,function(a){this.undefed||
|
23 |
+
(this.defineDep(b,a),this.check())}));this.errback?q(a,"error",u(this,this.errback)):this.events.error&&q(a,"error",u(this,function(a){this.emit("error",a)}))}c=a.id;f=h[c];!t(L,c)&&(f&&!f.enabled)&&i.enable(a,this)}));B(this.pluginMaps,u(this,function(a){var b=m(h,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){v(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};
|
24 |
+
i={config:j,contextName:b,registry:h,defined:r,urlFetched:S,defQueue:A,Module:Z,makeModuleMap:p,nextTick:g.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=j.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(j[b]||(j[b]={}),U(j[b],a,!0,!0)):j[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(aa[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=
|
25 |
+
i.makeShimExports(a);b[c]=a}),j.shim=b);a.packages&&v(a.packages,function(a){var b,a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(j.paths[b]=a.location);j.pkgs[b]=a.name+"/"+(a.main||"main").replace(ia,"").replace(Q,"")});B(h,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=p(b,null,!0))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ba,arguments));return b||a.exports&&da(a.exports)}},makeRequire:function(a,
|
26 |
+
e){function j(c,d,m){var n,q;e.enableBuildCallback&&(d&&G(d))&&(d.__requireJsBuild=!0);if("string"===typeof c){if(G(d))return w(C("requireargs","Invalid require call"),m);if(a&&t(L,c))return L[c](h[a.id]);if(g.get)return g.get(i,c,a,j);n=p(c,a,!1,!0);n=n.id;return!t(r,n)?w(C("notloaded",'Module name "'+n+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):r[n]}J();i.nextTick(function(){J();q=s(p(null,a));q.skipMap=e.skipMap;q.init(c,d,m,{enabled:!0});D()});return j}e=e||{};U(j,
|
27 |
+
{isBrowser:z,toUrl:function(b){var d,e=b.lastIndexOf("."),k=b.split("/")[0];if(-1!==e&&(!("."===k||".."===k)||1<e))d=b.substring(e,b.length),b=b.substring(0,e);return i.nameToUrl(c(b,a&&a.id,!0),d,!0)},defined:function(b){return t(r,p(b,a,!1,!0).id)},specified:function(b){b=p(b,a,!1,!0).id;return t(r,b)||t(h,b)}});a||(j.undef=function(b){x();var c=p(b,a,!0),e=m(h,b);e.undefed=!0;d(b);delete r[b];delete S[c.url];delete $[b];T(A,function(a,c){a[0]===b&&A.splice(c,1)});e&&(e.events.defined&&($[b]=e.events),
|
28 |
+
y(b))});return j},enable:function(a){m(h,a.id)&&s(a).enable()},completeLoad:function(a){var b,c,d=m(j.shim,a)||{},g=d.exports;for(x();A.length;){c=A.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);E(c)}c=m(h,a);if(!b&&!t(r,a)&&c&&!c.inited){if(j.enforceDefine&&(!g||!da(g)))return e(a)?void 0:w(C("nodefine","No define call for "+a,null,[a]));E([a,d.deps||[],d.exportsFn])}D()},nameToUrl:function(a,b,c){var d,e,h;(d=m(j.pkgs,a))&&(a=d);if(d=m(aa,a))return i.nameToUrl(d,b,c);if(g.jsExtRegExp.test(a))d=
|
29 |
+
a+(b||"");else{d=j.paths;a=a.split("/");for(e=a.length;0<e;e-=1)if(h=a.slice(0,e).join("/"),h=m(d,h)){H(h)&&(h=h[0]);a.splice(0,e,h);break}d=a.join("/");d+=b||(/^data\:|\?/.test(d)||c?"":".js");d=("/"===d.charAt(0)||d.match(/^[\w\+\.\-]+:/)?"":j.baseUrl)+d}return j.urlArgs?d+((-1===d.indexOf("?")?"?":"&")+j.urlArgs):d},load:function(a,b){g.load(i,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||ja.test((a.currentTarget||a.srcElement).readyState))N=null,
|
30 |
+
a=I(a),i.completeLoad(a.id)},onScriptError:function(a){var b=I(a);if(!e(b.id))return w(C("scripterror","Script error for: "+b.id,a,[b.id]))}};i.require=i.makeRequire();return i}var g,x,y,D,I,E,N,J,s,O,ka=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,la=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,Q=/\.js$/,ia=/^\.\//;x=Object.prototype;var K=x.toString,fa=x.hasOwnProperty,ha=Array.prototype.splice,z=!!("undefined"!==typeof window&&"undefined"!==typeof navigator&&window.document),ea=!z&&"undefined"!==
|
31 |
+
typeof importScripts,ja=z&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,Y="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),F={},q={},R=[],M=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(G(requirejs))return;q=requirejs;requirejs=void 0}"undefined"!==typeof require&&!G(require)&&(q=require,require=void 0);g=requirejs=function(b,c,d,e){var n,p="_";!H(b)&&"string"!==typeof b&&(n=b,H(c)?(b=c,c=d,d=e):b=[]);n&&n.context&&(p=n.context);
|
32 |
+
(e=m(F,p))||(e=F[p]=g.s.newContext(p));n&&e.configure(n);return e.require(b,c,d)};g.config=function(b){return g(b)};g.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=g);g.version="2.1.18";g.jsExtRegExp=/^\/|:|\?|\.js$/;g.isBrowser=z;x=g.s={contexts:F,newContext:ga};g({});v(["toUrl","undef","defined","specified"],function(b){g[b]=function(){var c=F._;return c.require[b].apply(c,arguments)}});if(z&&(y=x.head=document.getElementsByTagName("head")[0],
|
33 |
+
D=document.getElementsByTagName("base")[0]))y=x.head=D.parentNode;g.onError=ca;g.createNode=function(b){var c=b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};g.load=function(b,c,d){var e=b&&b.config||{};if(z)return e=g.createNode(e,c,d),e.setAttribute("data-requirecontext",b.contextName),e.setAttribute("data-requiremodule",c),e.attachEvent&&!(e.attachEvent.toString&&
|
34 |
+
0>e.attachEvent.toString().indexOf("[native code"))&&!Y?(M=!0,e.attachEvent("onreadystatechange",b.onScriptLoad)):(e.addEventListener("load",b.onScriptLoad,!1),e.addEventListener("error",b.onScriptError,!1)),e.src=d,J=e,D?y.insertBefore(e,D):y.appendChild(e),J=null,e;if(ea)try{importScripts(d),b.completeLoad(c)}catch(m){b.onError(C("importscripts","importScripts failed for "+c+" at "+d,m,[c]))}};z&&!q.skipDataMain&&T(document.getElementsByTagName("script"),function(b){y||(y=b.parentNode);if(I=b.getAttribute("data-main"))return s=
|
35 |
+
I,q.baseUrl||(E=s.split("/"),s=E.pop(),O=E.length?E.join("/")+"/":"./",q.baseUrl=O),s=s.replace(Q,""),g.jsExtRegExp.test(s)&&(s=I),q.deps=q.deps?q.deps.concat(s):[s],!0});define=function(b,c,d){var e,g;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(ka,"").replace(la,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(M){if(!(e=J))N&&"interactive"===N.readyState||T(document.getElementsByTagName("script"),
|
36 |
+
function(b){if("interactive"===b.readyState)return N=b}),e=N;e&&(b||(b=e.getAttribute("data-requiremodule")),g=F[e.getAttribute("data-requirecontext")])}(g?g.defQueue:R).push([b,c,d])};define.amd={jQuery:!0};g.exec=function(b){return eval(b)};g(q)}})(this);
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Esites_Editor</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,13 +12,13 @@
|
|
12 |
Of course you can open up the default source editor and go from there. But you probably know that this will not be very pleasant as well, the code looks like a big bowl of tag soup and editing it can give you a real headache.
|
13 |

|
14 |
This extension adds an additional editor to Magento's WYSIWYG editor that is similar to your favorite IDE. It offers several great features that will not only save you quite a bit of time but also makes editing HTML a lot easier.</description>
|
15 |
-
<notes>
|
16 |

|
17 |
The GitHub repo can be found at: https://github.com/e-sites/magento-advanced-html-editor</notes>
|
18 |
<authors><author><name>Boye Oomens</name><user>boye</user><email>github@e-sites.nl</email></author></authors>
|
19 |
-
<date>2015-06
|
20 |
-
<time>
|
21 |
-
<contents><target name="magelocal"><dir name="Esites"><dir name="Editor"><dir name="Helper"><file name="Data.php" hash="cd176392637a27912dbc252d677404df"/></dir><dir name="Model"><file name="Config.php" hash="ef006194108c80662724c8c79528d5c4"/><file name="Observer.php" hash="22162026bebccd0dbc15b69b97990ccf"/><dir name="Source"><file name="Status.php" hash="11f4bbfb91f7eb60192fe5dd314948bd"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="IndentUnit"><file name="Values.php" hash="6201a40c6cf6ff70a945d1f14e8a0c1c"/></dir><dir name="Keymap"><file name="Values.php" hash="439483ce69cbca9dd47265dcae8e14b2"/></dir><dir name="Theme"><file name="Values.php" hash="5a19d932e7d2ad93b2a328402c7bd2ce"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="d43852d70c58527d7a05011aeaf2984d"/><file name="system.xml" hash="f421cb099f0f86a297d3e4ac405bcc19"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></target><target name="mageetc"><dir name="modules"><file name="Esites_Editor.xml" hash="3898822a14ae51a3811da3e1e7b801ce"/></dir></target><target name="mageweb"><dir name="js"><dir name="tiny_mce"><dir name="plugins"><dir name="esites_editor"><dir name="css"><file name="styles.css" hash="494871d7e69ec65162a911ebdf0105b2"/></dir><file name="esites_editor.html" hash="4a7256de4f6df2cdbc638b2d13ba687a"/><file name="esites_editor_plugin.js" hash="1dd07f622155bd0d1ea7182070595304"/><file name="esites_editor_plugin_src.js" hash="c329db6cc991e371c903ed2bfb628b81"/><dir name="img"><file name="icon-esites-editor.png" hash="44c722d1cfa0465a94d0244583240812"/></dir><dir name="js"><dir name="app"><file name="main.js" hash="d4aead541fbccce41d6a9e3299f20a51"/><dir name="module"><file name="editor.js" hash="a3ddcaa39a48312c2e69d1a470da876e"/><file name="popup.js" hash="8ef6238768f93c416e0cec2bef19e0ef"/><file name="util.js" hash="a6832b31d51390f156325e9276f448d4"/></dir><dir name="var"><file name="addons.js" hash="582c831afe3882c54499a8f6e27574ba"/><file name="cmOptions.js" hash="71984ddb399af1206bee9c3c2a8d5312"/><file name="deps.js" hash="b88685190c40730355f723b0dd4082de"/><file name="plugin.js" hash="413f3aa9f10ea8752980d4711d2f9dfb"/><file name="textarea.js" hash="ba1efdbacc078ce5fad017e7ad965678"/></dir></dir><file name="app.js" hash="73f3d6b83543fdbd673f0ef061c3c9f9"/><dir name="vendor"><dir name="codemirror"><dir name="addon"><dir name="comment"><file name="comment.js" hash="e1233ff2b2428c5078ecfafbea23b7a0"/><file name="continuecomment.js" hash="2bad52d5a0b57d8f43e0e5b90bb25725"/></dir><dir name="dialog"><file name="dialog.css" hash="c89dce10b44d2882a024e7befc2b63f5"/><file name="dialog.js" hash="3429ebaf286acb91f04b8d3433251c1d"/></dir><dir name="display"><file name="fullscreen.css" hash="1a278e72b51528270f8ce9ec991929a1"/><file name="fullscreen.js" hash="fb86184c4fb36398188f2199fd28f167"/><file name="panel.js" hash="56e9558f431d1dffd85bf18ff2c9cd8d"/><file name="placeholder.js" hash="a406cc1590d2683a0114de4784f5421d"/><file name="rulers.js" hash="ff4f724e824fe42d72404a4fe4a756fe"/></dir><dir name="edit"><file name="closebrackets.js" hash="135aee995c406ae952e50b374c545562"/><file name="closetag.js" hash="34bce5a9d67d751ab0e4a0309f6a8b73"/><file name="continuelist.js" hash="bf26d0b5642be5b63e104073cf817dd8"/><file name="matchbrackets.js" hash="94c58e98823144e56932aa2611c51dff"/><file name="matchtags.js" hash="545127ffedea5d77c0f68c809c75c5b6"/><file name="trailingspace.js" hash="650f095b187881451b0166d16ffd4091"/></dir><dir name="fold"><file name="brace-fold.js" hash="13f986f14247d953551bdfe93b27699e"/><file name="comment-fold.js" hash="5e5bdebcd4acb30c3aed47164e2af6b3"/><file name="foldcode.js" hash="76c21fd4c3f14d1a61765324ec82266b"/><file name="foldgutter.css" hash="38bb68770b6f7ebaa7adea770a68e0b1"/><file name="foldgutter.js" hash="021b76e831daea34fb2dd2f300077be0"/><file name="indent-fold.js" hash="b17f35bdd388f737113271b9e9070ea3"/><file name="markdown-fold.js" hash="c8783b56c820030045a57f291660ea20"/><file name="xml-fold.js" hash="f173dec3ccb5d6df5f37b9a99ecc438a"/></dir><dir name="hint"><file name="anyword-hint.js" hash="00b7028e5978a14b543f99e04739fd10"/><file name="css-hint.js" hash="0331f17931864c79688b80c3a8fcf0bf"/><file name="html-hint.js" hash="6b398a6ef3473b9f889092495fcc1545"/><file name="javascript-hint.js" hash="8febf4d6664e133fac9da1da672564cd"/><file name="show-hint.css" hash="630e320a614e7732f6ce1bf37147f27f"/><file name="show-hint.js" hash="662c4c0a36f065a3851d947a33165db3"/><file name="sql-hint.js" hash="3320167f10ccb11e1fb6d43e10e0c4f8"/><file name="xml-hint.js" hash="21d019d58516804262957d8879576908"/></dir><dir name="lint"><file name="coffeescript-lint.js" hash="a867c61ab04b4309206ba371bdde9fb7"/><file name="css-lint.js" hash="fd09f81d97cf3eb681cc5742d76ec47f"/><file name="javascript-lint.js" hash="5576a5092afdae4e7990abcbc92d0425"/><file name="json-lint.js" hash="49afe4d1a791c115de21553c28f1a6cf"/><file name="lint.css" hash="5f5d243947ec3ae1b8f37d85f0fa2a2d"/><file name="lint.js" hash="4ddf18f1a8f1e743e0089773b37db7ef"/><file name="yaml-lint.js" hash="117815f724aa2c3d671801ccedaa86ac"/></dir><dir name="merge"><file name="merge.css" hash="842786722589d900ffaf32652e89dac9"/><file name="merge.js" hash="0a076a685071b988fc11c90799400ed4"/></dir><dir name="mode"><file name="loadmode.js" hash="bc3c29fecceff0785b086b6e1c6f6b7c"/><file name="multiplex.js" hash="2d862f9ff445de58743d57007dadf3a8"/><file name="multiplex_test.js" hash="6e9c20d5c89c34f9245e1e346edc027b"/><file name="overlay.js" hash="7abff7c501c40008fc541414e803d954"/><file name="simple.js" hash="b3f550bd7554a29d6929e20aba3456ac"/></dir><dir name="runmode"><file name="colorize.js" hash="b0d93d54ee9bf76b246ea7cae39d6e75"/><file name="runmode-standalone.js" hash="54b1bc5448bbdfb53fdb3cbdc6740ef7"/><file name="runmode.js" hash="3266201540178df80d191c73bbd88152"/><file name="runmode.node.js" hash="dcc7299595da64717ea04e48366a8777"/></dir><dir name="scroll"><file name="annotatescrollbar.js" hash="48c6d9945674a1f807d164190094090c"/><file name="scrollpastend.js" hash="68e06dd3d77a87661790bbb7ebe2f080"/><file name="simplescrollbars.css" hash="0352ba51fd6a422fe6cc44925e33ad88"/><file name="simplescrollbars.js" hash="3a02029c076fb34aac136dd8c745be94"/></dir><dir name="search"><file name="match-highlighter.js" hash="b59268b1e4b6872df69110776d7f7934"/><file name="matchesonscrollbar.css" hash="00ea2770c568a848190bcf52e4241276"/><file name="matchesonscrollbar.js" hash="2cece6de1e3ad73489c170c8f08dd561"/><file name="search.js" hash="c9f245200e0efa341e4180e86733bf5a"/><file name="searchcursor.js" hash="a11e9186f471515209a5583f1af6421c"/></dir><dir name="selection"><file name="active-line.js" hash="c7c0cb21951ca1ba74837a74bbcd4b47"/><file name="mark-selection.js" hash="49df440e41a6f54264bce4f7ed7d7d05"/><file name="selection-pointer.js" hash="394ed7c792ed1954c6473d72e17156f9"/></dir><dir name="tern"><file name="tern.css" hash="8f36b875b840601834dfed2b69de0078"/><file name="tern.js" hash="eff903c82fda8a5c6fc82d38e3dd32a8"/><file name="worker.js" hash="d6b55f3e776aafc6b1d1cd5bdf148e1d"/></dir><dir name="wrap"><file name="hardwrap.js" hash="0c70cedbc3ecc9474b11a24e23fe7b16"/></dir></dir><dir name="keymap"><file name="emacs.js" hash="9f95a4ebee67bc15739d34c6ebf5f2cc"/><file name="sublime.js" hash="aed0301397ec5401808e3ce051bb83a7"/><file name="vim.js" hash="b308cfba28db8462cbe985c02dfd147f"/></dir><dir name="lib"><file name="codemirror.css" hash="ebc199ea376c2692c8d03d6ecce0521d"/><file name="codemirror.js" hash="c95ff253a35ab82cf705874de7025baf"/></dir><dir name="mode"><dir name="css"><file name="css.js" hash="4dc04b8a48cd3b05d92782c07a916215"/></dir><dir name="htmlmixed"><file name="htmlmixed.js" hash="b8f2528cde883f78ede34ce9487c616e"/></dir><dir name="javascript"><file name="javascript.js" hash="a932cd9bea36fd4b148a63a2fd4007bb"/></dir><dir name="xml"><file name="xml.js" hash="4304a1cbddb1f976e42893f59de690a1"/></dir></dir><dir name="theme"><file name="3024-day.css" hash="dd62567889e5e73b566688b4df162499"/><file name="3024-night.css" hash="bce81635b70bee2cd748e5b591cfa152"/><file name="ambiance-mobile.css" hash="256f2dd130b80c6afaa40fddf700d12a"/><file name="ambiance.css" hash="18dc399db6086ba4df6f1733bbea3043"/><file name="base16-dark.css" hash="d5b39601d42c60adaf4a74668fd163ad"/><file name="base16-light.css" hash="eff34d7fb06a73518e7342187e169af2"/><file name="blackboard.css" hash="b413f7847a56cafec20b8ca5ce73ef52"/><file name="cobalt.css" hash="3dfff29b158f3574d80edffdf46e0cc1"/><file name="colorforth.css" hash="1c2ac3b8535beb8c8d72daefcf1f2e82"/><file name="eclipse.css" hash="7c2f7b4b44b33fc9a5f857f542d007ac"/><file name="elegant.css" hash="c98914a034be0b11803bd3c24fba25dd"/><file name="erlang-dark.css" hash="b8ece4ed0e1c8b4f3f0d933ae525a85b"/><file name="lesser-dark.css" hash="24b1bf4ba14a5177acb4e0f9c6c74f12"/><file name="liquibyte.css" hash="e32c54ecb4723675927388e8527d6515"/><file name="mbo.css" hash="d9c71a8d09d0cf6c8a47b1b2204e99e0"/><file name="mdn-like.css" hash="3b763a3981170739a5fb62a1cd70ed13"/><file name="midnight.css" hash="aa15eaaff4751c9e6bf8d6880f4dd7b1"/><file name="monokai.css" hash="4663b0f0e4bd11c1db6afdfd084d3b66"/><file name="neat.css" hash="673552ecebac76569063801293e9c76c"/><file name="neo.css" hash="f65035d751bacec07f189e3477f50bda"/><file name="night.css" hash="2f0028424982d3270e1d48b8cfa3a20a"/><file name="paraiso-dark.css" hash="e8cbc42a649596b0eec457a27355300e"/><file name="paraiso-light.css" hash="4d551ec8585009c1c5cd63d5f8fea52a"/><file name="pastel-on-dark.css" hash="98eef01e4c5088d1758f7d190f793ca2"/><file name="rubyblue.css" hash="3563ae9c5f1f53f51285da9ec38a92ce"/><file name="solarized.css" hash="da3417e1d7a4e2352cebd3b424720377"/><file name="the-matrix.css" hash="a30b748c8df155d0b81649f1091d1981"/><file name="tomorrow-night-bright.css" hash="15536604543d76ec2e0d30f593363062"/><file name="tomorrow-night-eighties.css" hash="020fa4c18605a7219261806c73d2fa8e"/><file name="ttcn.css" hash="784ad64048f2d50c697006e14a2e25d0"/><file name="twilight.css" hash="36918d6d526b116b16abaf3f92a814c3"/><file name="vibrant-ink.css" hash="9e787d565394983b0991ae14f8ce54c9"/><file name="xq-dark.css" hash="e30bef71c2665818f85ff1aeaa53447a"/><file name="xq-light.css" hash="481023ea9d2e1d4c1707a1867c500326"/><file name="zenburn.css" hash="8211c2d07e48ca8553f77756a8c35bfd"/></dir><dir name="util"><file name="formatting.js" hash="4c9124ad8ec751239cd934f57c9a418c"/></dir></dir><dir name="emmet"><file name="emmet.js" hash="20b8a23a66c4329d0498bea0bc3ab018"/></dir><dir name="requirejs"><file name="css.min.js" hash="e787572d95902ef09257cea1c5b33de2"/><file name="require.min.js" hash="987f41ae2177a5712a419f9383cff164"/></dir></dir></dir><dir name="langs"><file name="en.js" hash="fecd78b74204e7236827c75801dfc155"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></target></contents>
|
22 |
<compatible/>
|
23 |
-
<dependencies><required><php><min>5.4.0</min><max>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Esites_Editor</name>
|
4 |
+
<version>0.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
12 |
Of course you can open up the default source editor and go from there. But you probably know that this will not be very pleasant as well, the code looks like a big bowl of tag soup and editing it can give you a real headache.
|
13 |

|
14 |
This extension adds an additional editor to Magento's WYSIWYG editor that is similar to your favorite IDE. It offers several great features that will not only save you quite a bit of time but also makes editing HTML a lot easier.</description>
|
15 |
+
<notes>Second release. Updated both CodeMirror as well as RequireJS to the latest versions. No further changes in functionality.
|
16 |

|
17 |
The GitHub repo can be found at: https://github.com/e-sites/magento-advanced-html-editor</notes>
|
18 |
<authors><author><name>Boye Oomens</name><user>boye</user><email>github@e-sites.nl</email></author></authors>
|
19 |
+
<date>2015-07-06</date>
|
20 |
+
<time>17:34:35</time>
|
21 |
+
<contents><target name="magelocal"><dir name="Esites"><dir name="Editor"><dir name="Helper"><file name="Data.php" hash="cd176392637a27912dbc252d677404df"/></dir><dir name="Model"><file name="Config.php" hash="e452ebb7a7b11a2bd9ce9b44dcf78202"/><file name="Observer.php" hash="22162026bebccd0dbc15b69b97990ccf"/><dir name="Source"><file name="Status.php" hash="11f4bbfb91f7eb60192fe5dd314948bd"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="IndentUnit"><file name="Values.php" hash="6201a40c6cf6ff70a945d1f14e8a0c1c"/></dir><dir name="Keymap"><file name="Values.php" hash="439483ce69cbca9dd47265dcae8e14b2"/></dir><dir name="Theme"><file name="Values.php" hash="5a19d932e7d2ad93b2a328402c7bd2ce"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="035f9bf5d2a9ad81746879cb6463c910"/><file name="system.xml" hash="f421cb099f0f86a297d3e4ac405bcc19"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Esites_Editor.xml" hash="3898822a14ae51a3811da3e1e7b801ce"/></dir></target><target name="mageweb"><dir name="js"><dir name="tiny_mce"><dir name="plugins"><dir name="esites_editor"><dir name="css"><file name="styles.css" hash="494871d7e69ec65162a911ebdf0105b2"/></dir><file name="esites_editor.html" hash="4a7256de4f6df2cdbc638b2d13ba687a"/><file name="esites_editor_plugin.js" hash="1dd07f622155bd0d1ea7182070595304"/><file name="esites_editor_plugin_src.js" hash="f6f98b4006f117baa142ec85c77075fa"/><dir name="img"><file name="icon-esites-editor.png" hash="44c722d1cfa0465a94d0244583240812"/></dir><dir name="js"><dir name="app"><file name="main.js" hash="d4aead541fbccce41d6a9e3299f20a51"/><dir name="module"><file name="editor.js" hash="a3ddcaa39a48312c2e69d1a470da876e"/><file name="popup.js" hash="8ef6238768f93c416e0cec2bef19e0ef"/><file name="util.js" hash="a6832b31d51390f156325e9276f448d4"/></dir><dir name="var"><file name="addons.js" hash="582c831afe3882c54499a8f6e27574ba"/><file name="cmOptions.js" hash="71984ddb399af1206bee9c3c2a8d5312"/><file name="deps.js" hash="b88685190c40730355f723b0dd4082de"/><file name="plugin.js" hash="413f3aa9f10ea8752980d4711d2f9dfb"/><file name="textarea.js" hash="ba1efdbacc078ce5fad017e7ad965678"/></dir></dir><file name="app.js" hash="73f3d6b83543fdbd673f0ef061c3c9f9"/><dir name="vendor"><dir name="codemirror"><dir name="addon"><dir name="comment"><file name="comment.js" hash="e1233ff2b2428c5078ecfafbea23b7a0"/><file name="continuecomment.js" hash="2bad52d5a0b57d8f43e0e5b90bb25725"/></dir><dir name="dialog"><file name="dialog.css" hash="c89dce10b44d2882a024e7befc2b63f5"/><file name="dialog.js" hash="3429ebaf286acb91f04b8d3433251c1d"/></dir><dir name="display"><file name="fullscreen.css" hash="1a278e72b51528270f8ce9ec991929a1"/><file name="fullscreen.js" hash="fb86184c4fb36398188f2199fd28f167"/><file name="panel.js" hash="56e9558f431d1dffd85bf18ff2c9cd8d"/><file name="placeholder.js" hash="a406cc1590d2683a0114de4784f5421d"/><file name="rulers.js" hash="ff4f724e824fe42d72404a4fe4a756fe"/></dir><dir name="edit"><file name="closebrackets.js" hash="135aee995c406ae952e50b374c545562"/><file name="closetag.js" hash="34bce5a9d67d751ab0e4a0309f6a8b73"/><file name="continuelist.js" hash="1f902d5931a4c5d75b3d2b13aff71168"/><file name="matchbrackets.js" hash="94c58e98823144e56932aa2611c51dff"/><file name="matchtags.js" hash="545127ffedea5d77c0f68c809c75c5b6"/><file name="trailingspace.js" hash="650f095b187881451b0166d16ffd4091"/></dir><dir name="fold"><file name="brace-fold.js" hash="13f986f14247d953551bdfe93b27699e"/><file name="comment-fold.js" hash="5e5bdebcd4acb30c3aed47164e2af6b3"/><file name="foldcode.js" hash="76c21fd4c3f14d1a61765324ec82266b"/><file name="foldgutter.css" hash="38bb68770b6f7ebaa7adea770a68e0b1"/><file name="foldgutter.js" hash="021b76e831daea34fb2dd2f300077be0"/><file name="indent-fold.js" hash="b17f35bdd388f737113271b9e9070ea3"/><file name="markdown-fold.js" hash="c8783b56c820030045a57f291660ea20"/><file name="xml-fold.js" hash="f173dec3ccb5d6df5f37b9a99ecc438a"/></dir><dir name="hint"><file name="anyword-hint.js" hash="00b7028e5978a14b543f99e04739fd10"/><file name="css-hint.js" hash="0331f17931864c79688b80c3a8fcf0bf"/><file name="html-hint.js" hash="6b398a6ef3473b9f889092495fcc1545"/><file name="javascript-hint.js" hash="8febf4d6664e133fac9da1da672564cd"/><file name="show-hint.css" hash="630e320a614e7732f6ce1bf37147f27f"/><file name="show-hint.js" hash="662c4c0a36f065a3851d947a33165db3"/><file name="sql-hint.js" hash="3320167f10ccb11e1fb6d43e10e0c4f8"/><file name="xml-hint.js" hash="21d019d58516804262957d8879576908"/></dir><dir name="lint"><file name="coffeescript-lint.js" hash="a867c61ab04b4309206ba371bdde9fb7"/><file name="css-lint.js" hash="fd09f81d97cf3eb681cc5742d76ec47f"/><file name="javascript-lint.js" hash="5576a5092afdae4e7990abcbc92d0425"/><file name="json-lint.js" hash="49afe4d1a791c115de21553c28f1a6cf"/><file name="lint.css" hash="5f5d243947ec3ae1b8f37d85f0fa2a2d"/><file name="lint.js" hash="4ddf18f1a8f1e743e0089773b37db7ef"/><file name="yaml-lint.js" hash="117815f724aa2c3d671801ccedaa86ac"/></dir><dir name="merge"><file name="merge.css" hash="842786722589d900ffaf32652e89dac9"/><file name="merge.js" hash="0a076a685071b988fc11c90799400ed4"/></dir><dir name="mode"><file name="loadmode.js" hash="bc3c29fecceff0785b086b6e1c6f6b7c"/><file name="multiplex.js" hash="2d862f9ff445de58743d57007dadf3a8"/><file name="multiplex_test.js" hash="6e9c20d5c89c34f9245e1e346edc027b"/><file name="overlay.js" hash="7abff7c501c40008fc541414e803d954"/><file name="simple.js" hash="b3f550bd7554a29d6929e20aba3456ac"/></dir><dir name="runmode"><file name="colorize.js" hash="b0d93d54ee9bf76b246ea7cae39d6e75"/><file name="runmode-standalone.js" hash="54b1bc5448bbdfb53fdb3cbdc6740ef7"/><file name="runmode.js" hash="3266201540178df80d191c73bbd88152"/><file name="runmode.node.js" hash="e0d6deb878b58ce2329eb676b1146a1d"/></dir><dir name="scroll"><file name="annotatescrollbar.js" hash="48c6d9945674a1f807d164190094090c"/><file name="scrollpastend.js" hash="68e06dd3d77a87661790bbb7ebe2f080"/><file name="simplescrollbars.css" hash="0352ba51fd6a422fe6cc44925e33ad88"/><file name="simplescrollbars.js" hash="3a02029c076fb34aac136dd8c745be94"/></dir><dir name="search"><file name="match-highlighter.js" hash="b59268b1e4b6872df69110776d7f7934"/><file name="matchesonscrollbar.css" hash="00ea2770c568a848190bcf52e4241276"/><file name="matchesonscrollbar.js" hash="2cece6de1e3ad73489c170c8f08dd561"/><file name="search.js" hash="c9f245200e0efa341e4180e86733bf5a"/><file name="searchcursor.js" hash="a11e9186f471515209a5583f1af6421c"/></dir><dir name="selection"><file name="active-line.js" hash="c7c0cb21951ca1ba74837a74bbcd4b47"/><file name="mark-selection.js" hash="49df440e41a6f54264bce4f7ed7d7d05"/><file name="selection-pointer.js" hash="394ed7c792ed1954c6473d72e17156f9"/></dir><dir name="tern"><file name="tern.css" hash="8f36b875b840601834dfed2b69de0078"/><file name="tern.js" hash="fff8e060e7f942c26e6ed70fcae47ca9"/><file name="worker.js" hash="d6b55f3e776aafc6b1d1cd5bdf148e1d"/></dir><dir name="wrap"><file name="hardwrap.js" hash="0c70cedbc3ecc9474b11a24e23fe7b16"/></dir></dir><dir name="keymap"><file name="emacs.js" hash="9f95a4ebee67bc15739d34c6ebf5f2cc"/><file name="sublime.js" hash="aed0301397ec5401808e3ce051bb83a7"/><file name="vim.js" hash="6ae9bc84b361ebf60778fa469cb26078"/></dir><dir name="lib"><file name="codemirror.css" hash="3bc68598b602fb4d93df6abaae6c34f0"/><file name="codemirror.js" hash="1c5918f6b8c21ecedfd1bd06e0013e6d"/></dir><dir name="mode"><dir name="css"><file name="css.js" hash="b68d20ce073c2a809415d5e3ea6c9c84"/></dir><dir name="htmlmixed"><file name="htmlmixed.js" hash="4c7ab27882547c9075bc3a92c6278fbb"/></dir><dir name="javascript"><file name="javascript.js" hash="51b0e74a915e10ed9498e6b0035ae4b3"/></dir><dir name="xml"><file name="xml.js" hash="4304a1cbddb1f976e42893f59de690a1"/></dir></dir><dir name="theme"><file name="3024-day.css" hash="894a32efb2cfa60e36c9cc768cc0098a"/><file name="3024-night.css" hash="f1a444a6a4b50deac6a39189954a301b"/><file name="ambiance-mobile.css" hash="256f2dd130b80c6afaa40fddf700d12a"/><file name="ambiance.css" hash="51c29d465f0cf05b700db7bb56de30ea"/><file name="base16-dark.css" hash="1fb9180ba997460d4d366f7f08c6fd4f"/><file name="base16-light.css" hash="f66849c18f3b37a6858a13ee1e35848e"/><file name="blackboard.css" hash="a8ab62c90ab85a9c37f0ec70b54fbe99"/><file name="cobalt.css" hash="78b4d41cb127c1bd68be016009abc403"/><file name="colorforth.css" hash="1c2ac3b8535beb8c8d72daefcf1f2e82"/><file name="eclipse.css" hash="7c2f7b4b44b33fc9a5f857f542d007ac"/><file name="elegant.css" hash="c98914a034be0b11803bd3c24fba25dd"/><file name="erlang-dark.css" hash="93e7bc00530872f75f2407f7765cf755"/><file name="lesser-dark.css" hash="32e03c52c65d99e8de86d621e8059663"/><file name="liquibyte.css" hash="e32c54ecb4723675927388e8527d6515"/><file name="mbo.css" hash="8337ba3e4b9452cfe4a810c18fb3990d"/><file name="mdn-like.css" hash="7beb83c3ff5dd949ebea5c6840dc9ef3"/><file name="midnight.css" hash="73ebc77d60adac9c1d61608c7dc1344e"/><file name="monokai.css" hash="4caf13aa81a21c285cd195b7c9b20fa7"/><file name="neat.css" hash="673552ecebac76569063801293e9c76c"/><file name="neo.css" hash="f65035d751bacec07f189e3477f50bda"/><file name="night.css" hash="6ab152690c686b5d60d6d3f27f56dd31"/><file name="paraiso-dark.css" hash="b35f03d48623abf2327776955dd7cb86"/><file name="paraiso-light.css" hash="bbd066b1fb000c8ea3c1ffdac1f6c81b"/><file name="pastel-on-dark.css" hash="06a23867d779a12d33ffdc2a4db14088"/><file name="rubyblue.css" hash="2012b905229fdc2535321b1df631391c"/><file name="solarized.css" hash="02827534862eabe50b6e323490b10695"/><file name="the-matrix.css" hash="78a2e1eb98e9b4fe66b4e0e62f20db35"/><file name="tomorrow-night-bright.css" hash="15536604543d76ec2e0d30f593363062"/><file name="tomorrow-night-eighties.css" hash="061bbc6ab97d3b88a44c559583d301cf"/><file name="ttcn.css" hash="71e8cf8f41b49c587a0678ab32f81f13"/><file name="twilight.css" hash="99c1f0abe436ef5b456a34f99e80e9bc"/><file name="vibrant-ink.css" hash="69156002e7897ad324441766e7ee99a5"/><file name="xq-dark.css" hash="285c0f80f69a0bca86ac22d69bd47e75"/><file name="xq-light.css" hash="481023ea9d2e1d4c1707a1867c500326"/><file name="zenburn.css" hash="8211c2d07e48ca8553f77756a8c35bfd"/></dir><dir name="util"><file name="formatting.js" hash="4c9124ad8ec751239cd934f57c9a418c"/></dir></dir><dir name="emmet"><file name="emmet.js" hash="20b8a23a66c4329d0498bea0bc3ab018"/></dir><dir name="requirejs"><file name="css.min.js" hash="e787572d95902ef09257cea1c5b33de2"/><file name="require.min.js" hash="7198d1fc16fe630bd9357819ee8b65ef"/></dir></dir></dir><dir name="langs"><file name="en.js" hash="fecd78b74204e7236827c75801dfc155"/></dir></dir></dir></dir></dir></target></contents>
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|