##// END OF EJS Templates
New icons for the wiki toolbar (from http://www.famfamfam.com/lab/icons/silk/)....
Jean-Philippe Lang -
r1103:09cfef094cc9
parent child
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,526 +1,517
1 /* ***** BEGIN LICENSE BLOCK *****
1 /* ***** BEGIN LICENSE BLOCK *****
2 * This file is part of DotClear.
2 * This file is part of DotClear.
3 * Copyright (c) 2005 Nicolas Martin & Olivier Meunier and contributors. All
3 * Copyright (c) 2005 Nicolas Martin & Olivier Meunier and contributors. All
4 * rights reserved.
4 * rights reserved.
5 *
5 *
6 * DotClear is free software; you can redistribute it and/or modify
6 * DotClear is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
9 * (at your option) any later version.
10 *
10 *
11 * DotClear is distributed in the hope that it will be useful,
11 * DotClear is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
14 * GNU General Public License for more details.
15 *
15 *
16 * You should have received a copy of the GNU General Public License
16 * You should have received a copy of the GNU General Public License
17 * along with DotClear; if not, write to the Free Software
17 * along with DotClear; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
19 *
20 * ***** END LICENSE BLOCK *****
20 * ***** END LICENSE BLOCK *****
21 */
21 */
22
22
23 /* Modified by JP LANG for textile formatting */
23 /* Modified by JP LANG for textile formatting */
24
24
25 function jsToolBar(textarea) {
25 function jsToolBar(textarea) {
26 if (!document.createElement) { return; }
26 if (!document.createElement) { return; }
27
27
28 if (!textarea) { return; }
28 if (!textarea) { return; }
29
29
30 if ((typeof(document["selection"]) == "undefined")
30 if ((typeof(document["selection"]) == "undefined")
31 && (typeof(textarea["setSelectionRange"]) == "undefined")) {
31 && (typeof(textarea["setSelectionRange"]) == "undefined")) {
32 return;
32 return;
33 }
33 }
34
34
35 this.textarea = textarea;
35 this.textarea = textarea;
36
36
37 this.editor = document.createElement('div');
37 this.editor = document.createElement('div');
38 this.editor.className = 'jstEditor';
38 this.editor.className = 'jstEditor';
39
39
40 this.textarea.parentNode.insertBefore(this.editor,this.textarea);
40 this.textarea.parentNode.insertBefore(this.editor,this.textarea);
41 this.editor.appendChild(this.textarea);
41 this.editor.appendChild(this.textarea);
42
42
43 this.toolbar = document.createElement("div");
43 this.toolbar = document.createElement("div");
44 this.toolbar.className = 'jstElements';
44 this.toolbar.className = 'jstElements';
45 this.editor.parentNode.insertBefore(this.toolbar,this.editor);
45 this.editor.parentNode.insertBefore(this.toolbar,this.editor);
46
46
47 // Dragable resizing (only for gecko)
47 // Dragable resizing (only for gecko)
48 if (this.editor.addEventListener)
48 if (this.editor.addEventListener)
49 {
49 {
50 this.handle = document.createElement('div');
50 this.handle = document.createElement('div');
51 this.handle.className = 'jstHandle';
51 this.handle.className = 'jstHandle';
52 var dragStart = this.resizeDragStart;
52 var dragStart = this.resizeDragStart;
53 var This = this;
53 var This = this;
54 this.handle.addEventListener('mousedown',function(event) { dragStart.call(This,event); },false);
54 this.handle.addEventListener('mousedown',function(event) { dragStart.call(This,event); },false);
55 // fix memory leak in Firefox (bug #241518)
55 // fix memory leak in Firefox (bug #241518)
56 window.addEventListener('unload',function() {
56 window.addEventListener('unload',function() {
57 var del = This.handle.parentNode.removeChild(This.handle);
57 var del = This.handle.parentNode.removeChild(This.handle);
58 delete(This.handle);
58 delete(This.handle);
59 },false);
59 },false);
60
60
61 this.editor.parentNode.insertBefore(this.handle,this.editor.nextSibling);
61 this.editor.parentNode.insertBefore(this.handle,this.editor.nextSibling);
62 }
62 }
63
63
64 this.context = null;
64 this.context = null;
65 this.toolNodes = {}; // lorsque la toolbar est dessinée , cet objet est garni
65 this.toolNodes = {}; // lorsque la toolbar est dessinée , cet objet est garni
66 // de raccourcis vers les éléments DOM correspondants aux outils.
66 // de raccourcis vers les éléments DOM correspondants aux outils.
67 }
67 }
68
68
69 function jsButton(title, fn, scope, className) {
69 function jsButton(title, fn, scope, className) {
70 if(typeof jsToolBar.strings == 'undefined') {
70 if(typeof jsToolBar.strings == 'undefined') {
71 this.title = title || null;
71 this.title = title || null;
72 } else {
72 } else {
73 this.title = jsToolBar.strings[title] || title || null;
73 this.title = jsToolBar.strings[title] || title || null;
74 }
74 }
75 this.fn = fn || function(){};
75 this.fn = fn || function(){};
76 this.scope = scope || null;
76 this.scope = scope || null;
77 this.className = className || null;
77 this.className = className || null;
78 }
78 }
79 jsButton.prototype.draw = function() {
79 jsButton.prototype.draw = function() {
80 if (!this.scope) return null;
80 if (!this.scope) return null;
81
81
82 var button = document.createElement('button');
82 var button = document.createElement('button');
83 button.setAttribute('type','button');
83 button.setAttribute('type','button');
84 button.tabIndex = 200;
84 button.tabIndex = 200;
85 if (this.className) button.className = this.className;
85 if (this.className) button.className = this.className;
86 button.title = this.title;
86 button.title = this.title;
87 var span = document.createElement('span');
87 var span = document.createElement('span');
88 span.appendChild(document.createTextNode(this.title));
88 span.appendChild(document.createTextNode(this.title));
89 button.appendChild(span);
89 button.appendChild(span);
90
90
91 if (this.icon != undefined) {
91 if (this.icon != undefined) {
92 button.style.backgroundImage = 'url('+this.icon+')';
92 button.style.backgroundImage = 'url('+this.icon+')';
93 }
93 }
94 if (typeof(this.fn) == 'function') {
94 if (typeof(this.fn) == 'function') {
95 var This = this;
95 var This = this;
96 button.onclick = function() { try { This.fn.apply(This.scope, arguments) } catch (e) {} return false; };
96 button.onclick = function() { try { This.fn.apply(This.scope, arguments) } catch (e) {} return false; };
97 }
97 }
98 return button;
98 return button;
99 }
99 }
100
100
101 function jsSpace(id) {
101 function jsSpace(id) {
102 this.id = id || null;
102 this.id = id || null;
103 this.width = null;
103 this.width = null;
104 }
104 }
105 jsSpace.prototype.draw = function() {
105 jsSpace.prototype.draw = function() {
106 var span = document.createElement('span');
106 var span = document.createElement('span');
107 if (this.id) span.id = this.id;
107 if (this.id) span.id = this.id;
108 span.appendChild(document.createTextNode(String.fromCharCode(160)));
108 span.appendChild(document.createTextNode(String.fromCharCode(160)));
109 span.className = 'jstSpacer';
109 span.className = 'jstSpacer';
110 if (this.width) span.style.marginRight = this.width+'px';
110 if (this.width) span.style.marginRight = this.width+'px';
111
111
112 return span;
112 return span;
113 }
113 }
114
114
115 function jsCombo(title, options, scope, fn, className) {
115 function jsCombo(title, options, scope, fn, className) {
116 this.title = title || null;
116 this.title = title || null;
117 this.options = options || null;
117 this.options = options || null;
118 this.scope = scope || null;
118 this.scope = scope || null;
119 this.fn = fn || function(){};
119 this.fn = fn || function(){};
120 this.className = className || null;
120 this.className = className || null;
121 }
121 }
122 jsCombo.prototype.draw = function() {
122 jsCombo.prototype.draw = function() {
123 if (!this.scope || !this.options) return null;
123 if (!this.scope || !this.options) return null;
124
124
125 var select = document.createElement('select');
125 var select = document.createElement('select');
126 if (this.className) select.className = className;
126 if (this.className) select.className = className;
127 select.title = this.title;
127 select.title = this.title;
128
128
129 for (var o in this.options) {
129 for (var o in this.options) {
130 //var opt = this.options[o];
130 //var opt = this.options[o];
131 var option = document.createElement('option');
131 var option = document.createElement('option');
132 option.value = o;
132 option.value = o;
133 option.appendChild(document.createTextNode(this.options[o]));
133 option.appendChild(document.createTextNode(this.options[o]));
134 select.appendChild(option);
134 select.appendChild(option);
135 }
135 }
136
136
137 var This = this;
137 var This = this;
138 select.onchange = function() {
138 select.onchange = function() {
139 try {
139 try {
140 This.fn.call(This.scope, this.value);
140 This.fn.call(This.scope, this.value);
141 } catch (e) { alert(e); }
141 } catch (e) { alert(e); }
142
142
143 return false;
143 return false;
144 }
144 }
145
145
146 return select;
146 return select;
147 }
147 }
148
148
149
149
150 jsToolBar.prototype = {
150 jsToolBar.prototype = {
151 base_url: '',
151 base_url: '',
152 mode: 'wiki',
152 mode: 'wiki',
153 elements: {},
153 elements: {},
154
154
155 getMode: function() {
155 getMode: function() {
156 return this.mode;
156 return this.mode;
157 },
157 },
158
158
159 setMode: function(mode) {
159 setMode: function(mode) {
160 this.mode = mode || 'wiki';
160 this.mode = mode || 'wiki';
161 },
161 },
162
162
163 switchMode: function(mode) {
163 switchMode: function(mode) {
164 mode = mode || 'wiki';
164 mode = mode || 'wiki';
165 this.draw(mode);
165 this.draw(mode);
166 },
166 },
167
167
168 button: function(toolName) {
168 button: function(toolName) {
169 var tool = this.elements[toolName];
169 var tool = this.elements[toolName];
170 if (typeof tool.fn[this.mode] != 'function') return null;
170 if (typeof tool.fn[this.mode] != 'function') return null;
171 var b = new jsButton(tool.title, tool.fn[this.mode], this, 'jstb_'+toolName);
171 var b = new jsButton(tool.title, tool.fn[this.mode], this, 'jstb_'+toolName);
172 if (tool.icon != undefined) b.icon = tool.icon;
172 if (tool.icon != undefined) b.icon = tool.icon;
173 return b;
173 return b;
174 },
174 },
175 space: function(toolName) {
175 space: function(toolName) {
176 var tool = new jsSpace(toolName)
176 var tool = new jsSpace(toolName)
177 if (this.elements[toolName].width !== undefined)
177 if (this.elements[toolName].width !== undefined)
178 tool.width = this.elements[toolName].width;
178 tool.width = this.elements[toolName].width;
179 return tool;
179 return tool;
180 },
180 },
181 combo: function(toolName) {
181 combo: function(toolName) {
182 var tool = this.elements[toolName];
182 var tool = this.elements[toolName];
183 var length = tool[this.mode].list.length;
183 var length = tool[this.mode].list.length;
184
184
185 if (typeof tool[this.mode].fn != 'function' || length == 0) {
185 if (typeof tool[this.mode].fn != 'function' || length == 0) {
186 return null;
186 return null;
187 } else {
187 } else {
188 var options = {};
188 var options = {};
189 for (var i=0; i < length; i++) {
189 for (var i=0; i < length; i++) {
190 var opt = tool[this.mode].list[i];
190 var opt = tool[this.mode].list[i];
191 options[opt] = tool.options[opt];
191 options[opt] = tool.options[opt];
192 }
192 }
193 return new jsCombo(tool.title, options, this, tool[this.mode].fn);
193 return new jsCombo(tool.title, options, this, tool[this.mode].fn);
194 }
194 }
195 },
195 },
196 draw: function(mode) {
196 draw: function(mode) {
197 this.setMode(mode);
197 this.setMode(mode);
198
198
199 // Empty toolbar
199 // Empty toolbar
200 while (this.toolbar.hasChildNodes()) {
200 while (this.toolbar.hasChildNodes()) {
201 this.toolbar.removeChild(this.toolbar.firstChild)
201 this.toolbar.removeChild(this.toolbar.firstChild)
202 }
202 }
203 this.toolNodes = {}; // vide les raccourcis DOM/**/
203 this.toolNodes = {}; // vide les raccourcis DOM/**/
204
204
205 // Draw toolbar elements
205 // Draw toolbar elements
206 var b, tool, newTool;
206 var b, tool, newTool;
207
207
208 for (var i in this.elements) {
208 for (var i in this.elements) {
209 b = this.elements[i];
209 b = this.elements[i];
210
210
211 var disabled =
211 var disabled =
212 b.type == undefined || b.type == ''
212 b.type == undefined || b.type == ''
213 || (b.disabled != undefined && b.disabled)
213 || (b.disabled != undefined && b.disabled)
214 || (b.context != undefined && b.context != null && b.context != this.context);
214 || (b.context != undefined && b.context != null && b.context != this.context);
215
215
216 if (!disabled && typeof this[b.type] == 'function') {
216 if (!disabled && typeof this[b.type] == 'function') {
217 tool = this[b.type](i);
217 tool = this[b.type](i);
218 if (tool) newTool = tool.draw();
218 if (tool) newTool = tool.draw();
219 if (newTool) {
219 if (newTool) {
220 this.toolNodes[i] = newTool; //mémorise l'accès DOM pour usage éventuel ultérieur
220 this.toolNodes[i] = newTool; //mémorise l'accès DOM pour usage éventuel ultérieur
221 this.toolbar.appendChild(newTool);
221 this.toolbar.appendChild(newTool);
222 }
222 }
223 }
223 }
224 }
224 }
225 },
225 },
226
226
227 singleTag: function(stag,etag) {
227 singleTag: function(stag,etag) {
228 stag = stag || null;
228 stag = stag || null;
229 etag = etag || stag;
229 etag = etag || stag;
230
230
231 if (!stag || !etag) { return; }
231 if (!stag || !etag) { return; }
232
232
233 this.encloseSelection(stag,etag);
233 this.encloseSelection(stag,etag);
234 },
234 },
235
235
236 encloseLineSelection: function(prefix, suffix, fn) {
236 encloseLineSelection: function(prefix, suffix, fn) {
237 this.textarea.focus();
237 this.textarea.focus();
238
238
239 prefix = prefix || '';
239 prefix = prefix || '';
240 suffix = suffix || '';
240 suffix = suffix || '';
241
241
242 var start, end, sel, scrollPos, subst, res;
242 var start, end, sel, scrollPos, subst, res;
243
243
244 if (typeof(document["selection"]) != "undefined") {
244 if (typeof(document["selection"]) != "undefined") {
245 sel = document.selection.createRange().text;
245 sel = document.selection.createRange().text;
246 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
246 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
247 start = this.textarea.selectionStart;
247 start = this.textarea.selectionStart;
248 end = this.textarea.selectionEnd;
248 end = this.textarea.selectionEnd;
249 scrollPos = this.textarea.scrollTop;
249 scrollPos = this.textarea.scrollTop;
250 // go to the start of the line
250 // go to the start of the line
251 start = this.textarea.value.substring(0, start).replace(/[^\r\n]*$/g,'').length;
251 start = this.textarea.value.substring(0, start).replace(/[^\r\n]*$/g,'').length;
252 // go to the end of the line
252 // go to the end of the line
253 end = this.textarea.value.length - this.textarea.value.substring(end, this.textarea.value.length).replace(/^[^\r\n]*/, '').length;
253 end = this.textarea.value.length - this.textarea.value.substring(end, this.textarea.value.length).replace(/^[^\r\n]*/, '').length;
254 sel = this.textarea.value.substring(start, end);
254 sel = this.textarea.value.substring(start, end);
255 }
255 }
256
256
257 if (sel.match(/ $/)) { // exclude ending space char, if any
257 if (sel.match(/ $/)) { // exclude ending space char, if any
258 sel = sel.substring(0, sel.length - 1);
258 sel = sel.substring(0, sel.length - 1);
259 suffix = suffix + " ";
259 suffix = suffix + " ";
260 }
260 }
261
261
262 if (typeof(fn) == 'function') {
262 if (typeof(fn) == 'function') {
263 res = (sel) ? fn.call(this,sel) : fn('');
263 res = (sel) ? fn.call(this,sel) : fn('');
264 } else {
264 } else {
265 res = (sel) ? sel : '';
265 res = (sel) ? sel : '';
266 }
266 }
267
267
268 subst = prefix + res + suffix;
268 subst = prefix + res + suffix;
269
269
270 if (typeof(document["selection"]) != "undefined") {
270 if (typeof(document["selection"]) != "undefined") {
271 document.selection.createRange().text = subst;
271 document.selection.createRange().text = subst;
272 var range = this.textarea.createTextRange();
272 var range = this.textarea.createTextRange();
273 range.collapse(false);
273 range.collapse(false);
274 range.move('character', -suffix.length);
274 range.move('character', -suffix.length);
275 range.select();
275 range.select();
276 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
276 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
277 this.textarea.value = this.textarea.value.substring(0, start) + subst +
277 this.textarea.value = this.textarea.value.substring(0, start) + subst +
278 this.textarea.value.substring(end);
278 this.textarea.value.substring(end);
279 if (sel) {
279 if (sel) {
280 this.textarea.setSelectionRange(start + subst.length, start + subst.length);
280 this.textarea.setSelectionRange(start + subst.length, start + subst.length);
281 } else {
281 } else {
282 this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
282 this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
283 }
283 }
284 this.textarea.scrollTop = scrollPos;
284 this.textarea.scrollTop = scrollPos;
285 }
285 }
286 },
286 },
287
287
288 encloseSelection: function(prefix, suffix, fn) {
288 encloseSelection: function(prefix, suffix, fn) {
289 this.textarea.focus();
289 this.textarea.focus();
290
290
291 prefix = prefix || '';
291 prefix = prefix || '';
292 suffix = suffix || '';
292 suffix = suffix || '';
293
293
294 var start, end, sel, scrollPos, subst, res;
294 var start, end, sel, scrollPos, subst, res;
295
295
296 if (typeof(document["selection"]) != "undefined") {
296 if (typeof(document["selection"]) != "undefined") {
297 sel = document.selection.createRange().text;
297 sel = document.selection.createRange().text;
298 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
298 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
299 start = this.textarea.selectionStart;
299 start = this.textarea.selectionStart;
300 end = this.textarea.selectionEnd;
300 end = this.textarea.selectionEnd;
301 scrollPos = this.textarea.scrollTop;
301 scrollPos = this.textarea.scrollTop;
302 sel = this.textarea.value.substring(start, end);
302 sel = this.textarea.value.substring(start, end);
303 }
303 }
304
304
305 if (sel.match(/ $/)) { // exclude ending space char, if any
305 if (sel.match(/ $/)) { // exclude ending space char, if any
306 sel = sel.substring(0, sel.length - 1);
306 sel = sel.substring(0, sel.length - 1);
307 suffix = suffix + " ";
307 suffix = suffix + " ";
308 }
308 }
309
309
310 if (typeof(fn) == 'function') {
310 if (typeof(fn) == 'function') {
311 res = (sel) ? fn.call(this,sel) : fn('');
311 res = (sel) ? fn.call(this,sel) : fn('');
312 } else {
312 } else {
313 res = (sel) ? sel : '';
313 res = (sel) ? sel : '';
314 }
314 }
315
315
316 subst = prefix + res + suffix;
316 subst = prefix + res + suffix;
317
317
318 if (typeof(document["selection"]) != "undefined") {
318 if (typeof(document["selection"]) != "undefined") {
319 document.selection.createRange().text = subst;
319 document.selection.createRange().text = subst;
320 var range = this.textarea.createTextRange();
320 var range = this.textarea.createTextRange();
321 range.collapse(false);
321 range.collapse(false);
322 range.move('character', -suffix.length);
322 range.move('character', -suffix.length);
323 range.select();
323 range.select();
324 // this.textarea.caretPos -= suffix.length;
324 // this.textarea.caretPos -= suffix.length;
325 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
325 } else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
326 this.textarea.value = this.textarea.value.substring(0, start) + subst +
326 this.textarea.value = this.textarea.value.substring(0, start) + subst +
327 this.textarea.value.substring(end);
327 this.textarea.value.substring(end);
328 if (sel) {
328 if (sel) {
329 this.textarea.setSelectionRange(start + subst.length, start + subst.length);
329 this.textarea.setSelectionRange(start + subst.length, start + subst.length);
330 } else {
330 } else {
331 this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
331 this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
332 }
332 }
333 this.textarea.scrollTop = scrollPos;
333 this.textarea.scrollTop = scrollPos;
334 }
334 }
335 },
335 },
336
336
337 stripBaseURL: function(url) {
337 stripBaseURL: function(url) {
338 if (this.base_url != '') {
338 if (this.base_url != '') {
339 var pos = url.indexOf(this.base_url);
339 var pos = url.indexOf(this.base_url);
340 if (pos == 0) {
340 if (pos == 0) {
341 url = url.substr(this.base_url.length);
341 url = url.substr(this.base_url.length);
342 }
342 }
343 }
343 }
344
344
345 return url;
345 return url;
346 }
346 }
347 };
347 };
348
348
349 /** Resizer
349 /** Resizer
350 -------------------------------------------------------- */
350 -------------------------------------------------------- */
351 jsToolBar.prototype.resizeSetStartH = function() {
351 jsToolBar.prototype.resizeSetStartH = function() {
352 this.dragStartH = this.textarea.offsetHeight + 0;
352 this.dragStartH = this.textarea.offsetHeight + 0;
353 };
353 };
354 jsToolBar.prototype.resizeDragStart = function(event) {
354 jsToolBar.prototype.resizeDragStart = function(event) {
355 var This = this;
355 var This = this;
356 this.dragStartY = event.clientY;
356 this.dragStartY = event.clientY;
357 this.resizeSetStartH();
357 this.resizeSetStartH();
358 document.addEventListener('mousemove', this.dragMoveHdlr=function(event){This.resizeDragMove(event);}, false);
358 document.addEventListener('mousemove', this.dragMoveHdlr=function(event){This.resizeDragMove(event);}, false);
359 document.addEventListener('mouseup', this.dragStopHdlr=function(event){This.resizeDragStop(event);}, false);
359 document.addEventListener('mouseup', this.dragStopHdlr=function(event){This.resizeDragStop(event);}, false);
360 };
360 };
361
361
362 jsToolBar.prototype.resizeDragMove = function(event) {
362 jsToolBar.prototype.resizeDragMove = function(event) {
363 this.textarea.style.height = (this.dragStartH+event.clientY-this.dragStartY)+'px';
363 this.textarea.style.height = (this.dragStartH+event.clientY-this.dragStartY)+'px';
364 };
364 };
365
365
366 jsToolBar.prototype.resizeDragStop = function(event) {
366 jsToolBar.prototype.resizeDragStop = function(event) {
367 document.removeEventListener('mousemove', this.dragMoveHdlr, false);
367 document.removeEventListener('mousemove', this.dragMoveHdlr, false);
368 document.removeEventListener('mouseup', this.dragStopHdlr, false);
368 document.removeEventListener('mouseup', this.dragStopHdlr, false);
369 };
369 };
370
370
371 // Elements definition ------------------------------------
371 // Elements definition ------------------------------------
372
372
373 // strong
373 // strong
374 jsToolBar.prototype.elements.strong = {
374 jsToolBar.prototype.elements.strong = {
375 type: 'button',
375 type: 'button',
376 title: 'Strong',
376 title: 'Strong',
377 fn: {
377 fn: {
378 wiki: function() { this.singleTag('*') }
378 wiki: function() { this.singleTag('*') }
379 }
379 }
380 }
380 }
381
381
382 // em
382 // em
383 jsToolBar.prototype.elements.em = {
383 jsToolBar.prototype.elements.em = {
384 type: 'button',
384 type: 'button',
385 title: 'Italic',
385 title: 'Italic',
386 fn: {
386 fn: {
387 wiki: function() { this.singleTag("_") }
387 wiki: function() { this.singleTag("_") }
388 }
388 }
389 }
389 }
390
390
391 // ins
391 // ins
392 jsToolBar.prototype.elements.ins = {
392 jsToolBar.prototype.elements.ins = {
393 type: 'button',
393 type: 'button',
394 title: 'Underline',
394 title: 'Underline',
395 fn: {
395 fn: {
396 wiki: function() { this.singleTag('+') }
396 wiki: function() { this.singleTag('+') }
397 }
397 }
398 }
398 }
399
399
400 // del
400 // del
401 jsToolBar.prototype.elements.del = {
401 jsToolBar.prototype.elements.del = {
402 type: 'button',
402 type: 'button',
403 title: 'Deleted',
403 title: 'Deleted',
404 fn: {
404 fn: {
405 wiki: function() { this.singleTag('-') }
405 wiki: function() { this.singleTag('-') }
406 }
406 }
407 }
407 }
408
408
409 // quote
410 jsToolBar.prototype.elements.quote = {
411 type: 'button',
412 title: 'Inline quote',
413 fn: {
414 wiki: function() { this.singleTag('??') }
415 }
416 }
417
418 // code
409 // code
419 jsToolBar.prototype.elements.code = {
410 jsToolBar.prototype.elements.code = {
420 type: 'button',
411 type: 'button',
421 title: 'Code',
412 title: 'Code',
422 fn: {
413 fn: {
423 wiki: function() { this.singleTag('@') }
414 wiki: function() { this.singleTag('@') }
424 }
415 }
425 }
416 }
426
417
427 // spacer
418 // spacer
428 jsToolBar.prototype.elements.space1 = {type: 'space'}
419 jsToolBar.prototype.elements.space1 = {type: 'space'}
429
420
430 // headings
421 // headings
431 jsToolBar.prototype.elements.h1 = {
422 jsToolBar.prototype.elements.h1 = {
432 type: 'button',
423 type: 'button',
433 title: 'Heading 1',
424 title: 'Heading 1',
434 fn: {
425 fn: {
435 wiki: function() {
426 wiki: function() {
436 this.encloseLineSelection('h1. ', '',function(str) {
427 this.encloseLineSelection('h1. ', '',function(str) {
437 str = str.replace(/^h\d+\.\s+/, '')
428 str = str.replace(/^h\d+\.\s+/, '')
438 return str;
429 return str;
439 });
430 });
440 }
431 }
441 }
432 }
442 }
433 }
443 jsToolBar.prototype.elements.h2 = {
434 jsToolBar.prototype.elements.h2 = {
444 type: 'button',
435 type: 'button',
445 title: 'Heading 2',
436 title: 'Heading 2',
446 fn: {
437 fn: {
447 wiki: function() {
438 wiki: function() {
448 this.encloseLineSelection('h2. ', '',function(str) {
439 this.encloseLineSelection('h2. ', '',function(str) {
449 str = str.replace(/^h\d+\.\s+/, '')
440 str = str.replace(/^h\d+\.\s+/, '')
450 return str;
441 return str;
451 });
442 });
452 }
443 }
453 }
444 }
454 }
445 }
455 jsToolBar.prototype.elements.h3 = {
446 jsToolBar.prototype.elements.h3 = {
456 type: 'button',
447 type: 'button',
457 title: 'Heading 3',
448 title: 'Heading 3',
458 fn: {
449 fn: {
459 wiki: function() {
450 wiki: function() {
460 this.encloseLineSelection('h3. ', '',function(str) {
451 this.encloseLineSelection('h3. ', '',function(str) {
461 str = str.replace(/^h\d+\.\s+/, '')
452 str = str.replace(/^h\d+\.\s+/, '')
462 return str;
453 return str;
463 });
454 });
464 }
455 }
465 }
456 }
466 }
457 }
467
458
468 // spacer
459 // spacer
469 jsToolBar.prototype.elements.space2 = {type: 'space'}
460 jsToolBar.prototype.elements.space2 = {type: 'space'}
470
461
471 // ul
462 // ul
472 jsToolBar.prototype.elements.ul = {
463 jsToolBar.prototype.elements.ul = {
473 type: 'button',
464 type: 'button',
474 title: 'Unordered list',
465 title: 'Unordered list',
475 fn: {
466 fn: {
476 wiki: function() {
467 wiki: function() {
477 this.encloseLineSelection('','',function(str) {
468 this.encloseLineSelection('','',function(str) {
478 str = str.replace(/\r/g,'');
469 str = str.replace(/\r/g,'');
479 return str.replace(/(\n|^)[#-]?\s*/g,"$1* ");
470 return str.replace(/(\n|^)[#-]?\s*/g,"$1* ");
480 });
471 });
481 }
472 }
482 }
473 }
483 }
474 }
484
475
485 // ol
476 // ol
486 jsToolBar.prototype.elements.ol = {
477 jsToolBar.prototype.elements.ol = {
487 type: 'button',
478 type: 'button',
488 title: 'Ordered list',
479 title: 'Ordered list',
489 fn: {
480 fn: {
490 wiki: function() {
481 wiki: function() {
491 this.encloseLineSelection('','',function(str) {
482 this.encloseLineSelection('','',function(str) {
492 str = str.replace(/\r/g,'');
483 str = str.replace(/\r/g,'');
493 return str.replace(/(\n|^)[*-]?\s*/g,"$1# ");
484 return str.replace(/(\n|^)[*-]?\s*/g,"$1# ");
494 });
485 });
495 }
486 }
496 }
487 }
497 }
488 }
498
489
499 // pre
490 // pre
500 jsToolBar.prototype.elements.pre = {
491 jsToolBar.prototype.elements.pre = {
501 type: 'button',
492 type: 'button',
502 title: 'Preformatted text',
493 title: 'Preformatted text',
503 fn: {
494 fn: {
504 wiki: function() { this.encloseLineSelection('<pre>\n', '\n</pre>') }
495 wiki: function() { this.encloseLineSelection('<pre>\n', '\n</pre>') }
505 }
496 }
506 }
497 }
507
498
508 // spacer
499 // spacer
509 jsToolBar.prototype.elements.space3 = {type: 'space'}
500 jsToolBar.prototype.elements.space3 = {type: 'space'}
510
501
511 // wiki page
502 // wiki page
512 jsToolBar.prototype.elements.link = {
503 jsToolBar.prototype.elements.link = {
513 type: 'button',
504 type: 'button',
514 title: 'Wiki link',
505 title: 'Wiki link',
515 fn: {
506 fn: {
516 wiki: function() { this.encloseSelection("[[", "]]") }
507 wiki: function() { this.encloseSelection("[[", "]]") }
517 }
508 }
518 }
509 }
519 // image
510 // image
520 jsToolBar.prototype.elements.img = {
511 jsToolBar.prototype.elements.img = {
521 type: 'button',
512 type: 'button',
522 title: 'Image',
513 title: 'Image',
523 fn: {
514 fn: {
524 wiki: function() { this.encloseSelection("!", "!") }
515 wiki: function() { this.encloseSelection("!", "!") }
525 }
516 }
526 }
517 }
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Tučné';
2 jsToolBar.strings['Strong'] = 'Tučné';
3 jsToolBar.strings['Italic'] = 'Kurzíva';
3 jsToolBar.strings['Italic'] = 'Kurzíva';
4 jsToolBar.strings['Underline'] = 'Podtržené';
4 jsToolBar.strings['Underline'] = 'Podtržené';
5 jsToolBar.strings['Deleted'] = 'Přeškrtnuté ';
5 jsToolBar.strings['Deleted'] = 'Přeškrtnuté ';
6 jsToolBar.strings['Inline quote'] = 'Citace';
7 jsToolBar.strings['Code'] = 'Zobrazení kódu';
6 jsToolBar.strings['Code'] = 'Zobrazení kódu';
8 jsToolBar.strings['Heading 1'] = 'Záhlaví 1';
7 jsToolBar.strings['Heading 1'] = 'Záhlaví 1';
9 jsToolBar.strings['Heading 2'] = 'Záhlaví 2';
8 jsToolBar.strings['Heading 2'] = 'Záhlaví 2';
10 jsToolBar.strings['Heading 3'] = 'Záhlaví 3';
9 jsToolBar.strings['Heading 3'] = 'Záhlaví 3';
11 jsToolBar.strings['Unordered list'] = 'Seznam';
10 jsToolBar.strings['Unordered list'] = 'Seznam';
12 jsToolBar.strings['Ordered list'] = 'Uspořádaný seznam';
11 jsToolBar.strings['Ordered list'] = 'Uspořádaný seznam';
13 jsToolBar.strings['Preformatted text'] = 'Předformátovaný text';
12 jsToolBar.strings['Preformatted text'] = 'Předformátovaný text';
14 jsToolBar.strings['Wiki link'] = 'Vložit odkaz na Wiki stránku';
13 jsToolBar.strings['Wiki link'] = 'Vložit odkaz na Wiki stránku';
15 jsToolBar.strings['Image'] = 'Vložit obrázek';
14 jsToolBar.strings['Image'] = 'Vložit obrázek';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Fett';
2 jsToolBar.strings['Strong'] = 'Fett';
3 jsToolBar.strings['Italic'] = 'Kursiv';
3 jsToolBar.strings['Italic'] = 'Kursiv';
4 jsToolBar.strings['Underline'] = 'Unterstrichen';
4 jsToolBar.strings['Underline'] = 'Unterstrichen';
5 jsToolBar.strings['Deleted'] = 'Durchgestrichen';
5 jsToolBar.strings['Deleted'] = 'Durchgestrichen';
6 jsToolBar.strings['Inline quote'] = 'Inline-Zitat';
7 jsToolBar.strings['Code'] = 'Quelltext';
6 jsToolBar.strings['Code'] = 'Quelltext';
8 jsToolBar.strings['Heading 1'] = 'Überschrift 1. Ordnung';
7 jsToolBar.strings['Heading 1'] = 'Überschrift 1. Ordnung';
9 jsToolBar.strings['Heading 2'] = 'Überschrift 2. Ordnung';
8 jsToolBar.strings['Heading 2'] = 'Überschrift 2. Ordnung';
10 jsToolBar.strings['Heading 3'] = 'Überschrift 3. Ordnung';
9 jsToolBar.strings['Heading 3'] = 'Überschrift 3. Ordnung';
11 jsToolBar.strings['Unordered list'] = 'Aufzählungsliste';
10 jsToolBar.strings['Unordered list'] = 'Aufzählungsliste';
12 jsToolBar.strings['Ordered list'] = 'Nummerierte Liste';
11 jsToolBar.strings['Ordered list'] = 'Nummerierte Liste';
13 jsToolBar.strings['Preformatted text'] = 'Präformatierter Text';
12 jsToolBar.strings['Preformatted text'] = 'Präformatierter Text';
14 jsToolBar.strings['Wiki link'] = 'Verweis (Link) zu einer Wiki-Seite';
13 jsToolBar.strings['Wiki link'] = 'Verweis (Link) zu einer Wiki-Seite';
15 jsToolBar.strings['Image'] = 'Grafik';
14 jsToolBar.strings['Image'] = 'Grafik';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Gras';
2 jsToolBar.strings['Strong'] = 'Gras';
3 jsToolBar.strings['Italic'] = 'Italique';
3 jsToolBar.strings['Italic'] = 'Italique';
4 jsToolBar.strings['Underline'] = 'Souligné';
4 jsToolBar.strings['Underline'] = 'Souligné';
5 jsToolBar.strings['Deleted'] = 'Rayé';
5 jsToolBar.strings['Deleted'] = 'Rayé';
6 jsToolBar.strings['Inline quote'] = 'Citation';
6 jsToolBar.strings['Code'] = 'Code en ligne';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Titre niveau 1';
7 jsToolBar.strings['Heading 1'] = 'Titre niveau 1';
9 jsToolBar.strings['Heading 2'] = 'Titre niveau 2';
8 jsToolBar.strings['Heading 2'] = 'Titre niveau 2';
10 jsToolBar.strings['Heading 3'] = 'Titre niveau 3';
9 jsToolBar.strings['Heading 3'] = 'Titre niveau 3';
11 jsToolBar.strings['Unordered list'] = 'Liste à puces';
10 jsToolBar.strings['Unordered list'] = 'Liste à puces';
12 jsToolBar.strings['Ordered list'] = 'Liste numérotée';
11 jsToolBar.strings['Ordered list'] = 'Liste numérotée';
13 jsToolBar.strings['Preformatted text'] = 'Texte préformaté';
12 jsToolBar.strings['Preformatted text'] = 'Texte préformaté';
14 jsToolBar.strings['Wiki link'] = 'Lien vers une page Wiki';
13 jsToolBar.strings['Wiki link'] = 'Lien vers une page Wiki';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Жирный';
2 jsToolBar.strings['Strong'] = 'Жирный';
3 jsToolBar.strings['Italic'] = 'Курсив';
3 jsToolBar.strings['Italic'] = 'Курсив';
4 jsToolBar.strings['Underline'] = 'Подчеркнутый';
4 jsToolBar.strings['Underline'] = 'Подчеркнутый';
5 jsToolBar.strings['Deleted'] = 'Зачеркнутый';
5 jsToolBar.strings['Deleted'] = 'Зачеркнутый';
6 jsToolBar.strings['Inline quote'] = 'Цитата';
7 jsToolBar.strings['Code'] = 'Вставка кода';
6 jsToolBar.strings['Code'] = 'Вставка кода';
8 jsToolBar.strings['Heading 1'] = 'Заголовок 1';
7 jsToolBar.strings['Heading 1'] = 'Заголовок 1';
9 jsToolBar.strings['Heading 2'] = 'Заголовок 2';
8 jsToolBar.strings['Heading 2'] = 'Заголовок 2';
10 jsToolBar.strings['Heading 3'] = 'Заголовок 3';
9 jsToolBar.strings['Heading 3'] = 'Заголовок 3';
11 jsToolBar.strings['Unordered list'] = 'Маркированный список';
10 jsToolBar.strings['Unordered list'] = 'Маркированный список';
12 jsToolBar.strings['Ordered list'] = 'Нумерованный список';
11 jsToolBar.strings['Ordered list'] = 'Нумерованный список';
13 jsToolBar.strings['Preformatted text'] = 'Заранее форматированный текст';
12 jsToolBar.strings['Preformatted text'] = 'Заранее форматированный текст';
14 jsToolBar.strings['Wiki link'] = 'Ссылка на страницу в Wiki';
13 jsToolBar.strings['Wiki link'] = 'Ссылка на страницу в Wiki';
15 jsToolBar.strings['Image'] = 'Вставка изображения';
14 jsToolBar.strings['Image'] = 'Вставка изображения';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = '粗體';
2 jsToolBar.strings['Strong'] = '粗體';
3 jsToolBar.strings['Italic'] = '斜體';
3 jsToolBar.strings['Italic'] = '斜體';
4 jsToolBar.strings['Underline'] = '底線';
4 jsToolBar.strings['Underline'] = '底線';
5 jsToolBar.strings['Deleted'] = '刪除線';
5 jsToolBar.strings['Deleted'] = '刪除線';
6 jsToolBar.strings['Inline quote'] = '內嵌引文';
7 jsToolBar.strings['Code'] = '程式碼';
6 jsToolBar.strings['Code'] = '程式碼';
8 jsToolBar.strings['Heading 1'] = '標題 1';
7 jsToolBar.strings['Heading 1'] = '標題 1';
9 jsToolBar.strings['Heading 2'] = '標題 2';
8 jsToolBar.strings['Heading 2'] = '標題 2';
10 jsToolBar.strings['Heading 3'] = '標題 3';
9 jsToolBar.strings['Heading 3'] = '標題 3';
11 jsToolBar.strings['Unordered list'] = '項目清單';
10 jsToolBar.strings['Unordered list'] = '項目清單';
12 jsToolBar.strings['Ordered list'] = '編號清單';
11 jsToolBar.strings['Ordered list'] = '編號清單';
13 jsToolBar.strings['Preformatted text'] = '格式化文字';
12 jsToolBar.strings['Preformatted text'] = '格式化文字';
14 jsToolBar.strings['Wiki link'] = '連結至 Wiki 頁面';
13 jsToolBar.strings['Wiki link'] = '連結至 Wiki 頁面';
15 jsToolBar.strings['Image'] = '圖片';
14 jsToolBar.strings['Image'] = '圖片';
@@ -1,15 +1,14
1 jsToolBar.strings = {};
1 jsToolBar.strings = {};
2 jsToolBar.strings['Strong'] = 'Strong';
2 jsToolBar.strings['Strong'] = 'Strong';
3 jsToolBar.strings['Italic'] = 'Italic';
3 jsToolBar.strings['Italic'] = 'Italic';
4 jsToolBar.strings['Underline'] = 'Underline';
4 jsToolBar.strings['Underline'] = 'Underline';
5 jsToolBar.strings['Deleted'] = 'Deleted';
5 jsToolBar.strings['Deleted'] = 'Deleted';
6 jsToolBar.strings['Inline quote'] = 'Inline quote';
6 jsToolBar.strings['Code'] = 'Inline Code';
7 jsToolBar.strings['Code'] = 'Code';
8 jsToolBar.strings['Heading 1'] = 'Heading 1';
7 jsToolBar.strings['Heading 1'] = 'Heading 1';
9 jsToolBar.strings['Heading 2'] = 'Heading 2';
8 jsToolBar.strings['Heading 2'] = 'Heading 2';
10 jsToolBar.strings['Heading 3'] = 'Heading 3';
9 jsToolBar.strings['Heading 3'] = 'Heading 3';
11 jsToolBar.strings['Unordered list'] = 'Unordered list';
10 jsToolBar.strings['Unordered list'] = 'Unordered list';
12 jsToolBar.strings['Ordered list'] = 'Ordered list';
11 jsToolBar.strings['Ordered list'] = 'Ordered list';
13 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
12 jsToolBar.strings['Preformatted text'] = 'Preformatted text';
14 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
13 jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
15 jsToolBar.strings['Image'] = 'Image';
14 jsToolBar.strings['Image'] = 'Image';
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
General Comments 0
You need to be logged in to leave comments. Login now