diff options
Diffstat (limited to 'sources/samples')
-rw-r--r-- | sources/samples/index.html | 2 | ||||
-rw-r--r-- | sources/samples/old/assets/uilanguages/languages.js | 1 | ||||
-rw-r--r-- | sources/samples/toolbarconfigurator/index.html | 2 | ||||
-rw-r--r-- | sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js | 16 |
4 files changed, 11 insertions, 10 deletions
diff --git a/sources/samples/index.html b/sources/samples/index.html index 3d274cf..5f47351 100644 --- a/sources/samples/index.html +++ b/sources/samples/index.html | |||
@@ -18,7 +18,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license | |||
18 | <div class="grid-container"> | 18 | <div class="grid-container"> |
19 | <ul class="navigation-a-left grid-width-70"> | 19 | <ul class="navigation-a-left grid-width-70"> |
20 | <li><a href="http://ckeditor.com">Project Homepage</a></li> | 20 | <li><a href="http://ckeditor.com">Project Homepage</a></li> |
21 | <li><a href="http://dev.ckeditor.com/">I found a bug</a></li> | 21 | <li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li> |
22 | <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li> | 22 | <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li> |
23 | </ul> | 23 | </ul> |
24 | <ul class="navigation-a-right grid-width-30"> | 24 | <ul class="navigation-a-right grid-width-30"> |
diff --git a/sources/samples/old/assets/uilanguages/languages.js b/sources/samples/old/assets/uilanguages/languages.js index df6b2dc..a3cf84f 100644 --- a/sources/samples/old/assets/uilanguages/languages.js +++ b/sources/samples/old/assets/uilanguages/languages.js | |||
@@ -26,6 +26,7 @@ var CKEDITOR_LANGS = ( function() { | |||
26 | 'en-gb': 'English (United Kingdom)', | 26 | 'en-gb': 'English (United Kingdom)', |
27 | eo: 'Esperanto', | 27 | eo: 'Esperanto', |
28 | es: 'Spanish', | 28 | es: 'Spanish', |
29 | 'es-mx': 'Spanish (Mexico)', | ||
29 | et: 'Estonian', | 30 | et: 'Estonian', |
30 | eu: 'Basque', | 31 | eu: 'Basque', |
31 | fa: 'Persian', | 32 | fa: 'Persian', |
diff --git a/sources/samples/toolbarconfigurator/index.html b/sources/samples/toolbarconfigurator/index.html index 4d31289..ea216d2 100644 --- a/sources/samples/toolbarconfigurator/index.html +++ b/sources/samples/toolbarconfigurator/index.html | |||
@@ -26,7 +26,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license | |||
26 | <div class="grid-container"> | 26 | <div class="grid-container"> |
27 | <ul class="navigation-a-left grid-width-70"> | 27 | <ul class="navigation-a-left grid-width-70"> |
28 | <li><a href="http://ckeditor.com">Project Homepage</a></li> | 28 | <li><a href="http://ckeditor.com">Project Homepage</a></li> |
29 | <li><a href="http://dev.ckeditor.com/">I found a bug</a></li> | 29 | <li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li> |
30 | <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li> | 30 | <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li> |
31 | </ul> | 31 | </ul> |
32 | <ul class="navigation-a-right grid-width-30"> | 32 | <ul class="navigation-a-right grid-width-30"> |
diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js index 37e2685..e5c3155 100644 --- a/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js +++ b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js | |||
@@ -1181,7 +1181,7 @@ | |||
1181 | // very slow. So make the area wide instead. | 1181 | // very slow. So make the area wide instead. |
1182 | if (webkit) te.style.width = "1000px"; | 1182 | if (webkit) te.style.width = "1000px"; |
1183 | else te.setAttribute("wrap", "off"); | 1183 | else te.setAttribute("wrap", "off"); |
1184 | // If border: 0; -- iOS fails to open keyboard (issue #1287) | 1184 | // If border: 0; -- iOS fails to open keyboard (issue http://dev.ckeditor.com/ticket/1287) |
1185 | if (ios) te.style.border = "1px solid black"; | 1185 | if (ios) te.style.border = "1px solid black"; |
1186 | disableBrowserMagic(te); | 1186 | disableBrowserMagic(te); |
1187 | return div; | 1187 | return div; |
@@ -1397,7 +1397,7 @@ | |||
1397 | if (text == prevInput && !cm.somethingSelected()) return false; | 1397 | if (text == prevInput && !cm.somethingSelected()) return false; |
1398 | // Work around nonsensical selection resetting in IE9/10, and | 1398 | // Work around nonsensical selection resetting in IE9/10, and |
1399 | // inexplicable appearance of private area unicode characters on | 1399 | // inexplicable appearance of private area unicode characters on |
1400 | // some key combos in Mac (#2689). | 1400 | // some key combos in Mac (http://dev.ckeditor.com/ticket/2689). |
1401 | if (ie && ie_version >= 9 && this.hasSelection === text || | 1401 | if (ie && ie_version >= 9 && this.hasSelection === text || |
1402 | mac && /[\uf700-\uf7ff]/.test(text)) { | 1402 | mac && /[\uf700-\uf7ff]/.test(text)) { |
1403 | cm.display.input.reset(); | 1403 | cm.display.input.reset(); |
@@ -1457,7 +1457,7 @@ | |||
1457 | "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: " + | 1457 | "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: " + |
1458 | (ie ? "rgba(255, 255, 255, .05)" : "transparent") + | 1458 | (ie ? "rgba(255, 255, 255, .05)" : "transparent") + |
1459 | "; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);"; | 1459 | "; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);"; |
1460 | if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712) | 1460 | if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (http://dev.ckeditor.com/ticket/2712) |
1461 | display.input.focus(); | 1461 | display.input.focus(); |
1462 | if (webkit) window.scrollTo(null, oldScrollY); | 1462 | if (webkit) window.scrollTo(null, oldScrollY); |
1463 | display.input.reset(); | 1463 | display.input.reset(); |
@@ -3581,7 +3581,7 @@ | |||
3581 | e_preventDefault(e2); | 3581 | e_preventDefault(e2); |
3582 | if (!modifier && +new Date - 200 < startTime) | 3582 | if (!modifier && +new Date - 200 < startTime) |
3583 | extendSelection(cm.doc, start); | 3583 | extendSelection(cm.doc, start); |
3584 | // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081) | 3584 | // Work around unexplainable focus problem in IE9 (http://dev.ckeditor.com/ticket/2127) and Chrome (http://dev.ckeditor.com/ticket/3081) |
3585 | if (webkit || ie && ie_version == 9) | 3585 | if (webkit || ie && ie_version == 9) |
3586 | setTimeout(function() {document.body.focus(); display.input.focus();}, 20); | 3586 | setTimeout(function() {document.body.focus(); display.input.focus();}, 20); |
3587 | else | 3587 | else |
@@ -3769,7 +3769,7 @@ | |||
3769 | } | 3769 | } |
3770 | 3770 | ||
3771 | // Kludge to work around strange IE behavior where it'll sometimes | 3771 | // Kludge to work around strange IE behavior where it'll sometimes |
3772 | // re-fire a series of drag-related events right after the drop (#1551) | 3772 | // re-fire a series of drag-related events right after the drop (http://dev.ckeditor.com/ticket/1551) |
3773 | var lastDrop = 0; | 3773 | var lastDrop = 0; |
3774 | 3774 | ||
3775 | function onDrop(e) { | 3775 | function onDrop(e) { |
@@ -4139,7 +4139,7 @@ | |||
4139 | // select-all detection hack) | 4139 | // select-all detection hack) |
4140 | if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) { | 4140 | if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) { |
4141 | cm.display.input.reset(); | 4141 | cm.display.input.reset(); |
4142 | if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730 | 4142 | if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue http://dev.ckeditor.com/ticket/1730 |
4143 | } | 4143 | } |
4144 | cm.display.input.receivedFocus(); | 4144 | cm.display.input.receivedFocus(); |
4145 | } | 4145 | } |
@@ -6832,7 +6832,7 @@ | |||
6832 | } | 6832 | } |
6833 | } | 6833 | } |
6834 | 6834 | ||
6835 | // See issue #2901 | 6835 | // See issue http://dev.ckeditor.com/ticket/2901 |
6836 | if (webkit && /\bcm-tab\b/.test(builder.content.lastChild.className)) | 6836 | if (webkit && /\bcm-tab\b/.test(builder.content.lastChild.className)) |
6837 | builder.content.className = "cm-tab-wrap-hack"; | 6837 | builder.content.className = "cm-tab-wrap-hack"; |
6838 | 6838 | ||
@@ -8367,7 +8367,7 @@ | |||
8367 | if (badBidiRects != null) return badBidiRects; | 8367 | if (badBidiRects != null) return badBidiRects; |
8368 | var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA")); | 8368 | var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA")); |
8369 | var r0 = range(txt, 0, 1).getBoundingClientRect(); | 8369 | var r0 = range(txt, 0, 1).getBoundingClientRect(); |
8370 | if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780) | 8370 | if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (http://dev.ckeditor.com/ticket/2780) |
8371 | var r1 = range(txt, 1, 2).getBoundingClientRect(); | 8371 | var r1 = range(txt, 1, 2).getBoundingClientRect(); |
8372 | return badBidiRects = (r1.right - r0.right < 3); | 8372 | return badBidiRects = (r1.right - r0.right < 3); |
8373 | } | 8373 | } |