@oat-sa/tao-core-shared-libs 1.1.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/lib/ckeditor/ckeditor.js +731 -730
  2. package/lib/ckeditor/lang/ja.js +1 -1
  3. package/lib/ckeditor/plugins/horizontalrule/icons/hidpi/horizontalrule.png +0 -0
  4. package/lib/ckeditor/plugins/horizontalrule/icons/horizontalrule.png +0 -0
  5. package/lib/ckeditor/plugins/horizontalrule/lang/af.js +7 -0
  6. package/lib/ckeditor/plugins/horizontalrule/lang/ar.js +7 -0
  7. package/lib/ckeditor/plugins/horizontalrule/lang/az.js +7 -0
  8. package/lib/ckeditor/plugins/horizontalrule/lang/bg.js +7 -0
  9. package/lib/ckeditor/plugins/horizontalrule/lang/bn.js +7 -0
  10. package/lib/ckeditor/plugins/horizontalrule/lang/bs.js +7 -0
  11. package/lib/ckeditor/plugins/horizontalrule/lang/ca.js +7 -0
  12. package/lib/ckeditor/plugins/horizontalrule/lang/cs.js +7 -0
  13. package/lib/ckeditor/plugins/horizontalrule/lang/cy.js +7 -0
  14. package/lib/ckeditor/plugins/horizontalrule/lang/da.js +7 -0
  15. package/lib/ckeditor/plugins/horizontalrule/lang/de-ch.js +7 -0
  16. package/lib/ckeditor/plugins/horizontalrule/lang/de.js +7 -0
  17. package/lib/ckeditor/plugins/horizontalrule/lang/el.js +7 -0
  18. package/lib/ckeditor/plugins/horizontalrule/lang/en-au.js +7 -0
  19. package/lib/ckeditor/plugins/horizontalrule/lang/en-ca.js +7 -0
  20. package/lib/ckeditor/plugins/horizontalrule/lang/en-gb.js +7 -0
  21. package/lib/ckeditor/plugins/horizontalrule/lang/en.js +7 -0
  22. package/lib/ckeditor/plugins/horizontalrule/lang/eo.js +7 -0
  23. package/lib/ckeditor/plugins/horizontalrule/lang/es-mx.js +7 -0
  24. package/lib/ckeditor/plugins/horizontalrule/lang/es.js +7 -0
  25. package/lib/ckeditor/plugins/horizontalrule/lang/et.js +7 -0
  26. package/lib/ckeditor/plugins/horizontalrule/lang/eu.js +7 -0
  27. package/lib/ckeditor/plugins/horizontalrule/lang/fa.js +7 -0
  28. package/lib/ckeditor/plugins/horizontalrule/lang/fi.js +7 -0
  29. package/lib/ckeditor/plugins/horizontalrule/lang/fo.js +7 -0
  30. package/lib/ckeditor/plugins/horizontalrule/lang/fr-ca.js +7 -0
  31. package/lib/ckeditor/plugins/horizontalrule/lang/fr.js +7 -0
  32. package/lib/ckeditor/plugins/horizontalrule/lang/gl.js +7 -0
  33. package/lib/ckeditor/plugins/horizontalrule/lang/gu.js +7 -0
  34. package/lib/ckeditor/plugins/horizontalrule/lang/he.js +7 -0
  35. package/lib/ckeditor/plugins/horizontalrule/lang/hi.js +7 -0
  36. package/lib/ckeditor/plugins/horizontalrule/lang/hr.js +7 -0
  37. package/lib/ckeditor/plugins/horizontalrule/lang/hu.js +7 -0
  38. package/lib/ckeditor/plugins/horizontalrule/lang/id.js +7 -0
  39. package/lib/ckeditor/plugins/horizontalrule/lang/is.js +7 -0
  40. package/lib/ckeditor/plugins/horizontalrule/lang/it.js +7 -0
  41. package/lib/ckeditor/plugins/horizontalrule/lang/ja.js +7 -0
  42. package/lib/ckeditor/plugins/horizontalrule/lang/ka.js +7 -0
  43. package/lib/ckeditor/plugins/horizontalrule/lang/km.js +7 -0
  44. package/lib/ckeditor/plugins/horizontalrule/lang/ko.js +7 -0
  45. package/lib/ckeditor/plugins/horizontalrule/lang/ku.js +7 -0
  46. package/lib/ckeditor/plugins/horizontalrule/lang/lt.js +7 -0
  47. package/lib/ckeditor/plugins/horizontalrule/lang/lv.js +7 -0
  48. package/lib/ckeditor/plugins/horizontalrule/lang/mk.js +7 -0
  49. package/lib/ckeditor/plugins/horizontalrule/lang/mn.js +7 -0
  50. package/lib/ckeditor/plugins/horizontalrule/lang/ms.js +7 -0
  51. package/lib/ckeditor/plugins/horizontalrule/lang/nb.js +7 -0
  52. package/lib/ckeditor/plugins/horizontalrule/lang/nl.js +7 -0
  53. package/lib/ckeditor/plugins/horizontalrule/lang/no.js +7 -0
  54. package/lib/ckeditor/plugins/horizontalrule/lang/oc.js +7 -0
  55. package/lib/ckeditor/plugins/horizontalrule/lang/pl.js +7 -0
  56. package/lib/ckeditor/plugins/horizontalrule/lang/pt-br.js +7 -0
  57. package/lib/ckeditor/plugins/horizontalrule/lang/pt.js +7 -0
  58. package/lib/ckeditor/plugins/horizontalrule/lang/ro.js +7 -0
  59. package/lib/ckeditor/plugins/horizontalrule/lang/ru.js +7 -0
  60. package/lib/ckeditor/plugins/horizontalrule/lang/si.js +7 -0
  61. package/lib/ckeditor/plugins/horizontalrule/lang/sk.js +7 -0
  62. package/lib/ckeditor/plugins/horizontalrule/lang/sl.js +7 -0
  63. package/lib/ckeditor/plugins/horizontalrule/lang/sq.js +7 -0
  64. package/lib/ckeditor/plugins/horizontalrule/lang/sr-latn.js +7 -0
  65. package/lib/ckeditor/plugins/horizontalrule/lang/sr.js +7 -0
  66. package/lib/ckeditor/plugins/horizontalrule/lang/sv.js +7 -0
  67. package/lib/ckeditor/plugins/horizontalrule/lang/th.js +7 -0
  68. package/lib/ckeditor/plugins/horizontalrule/lang/tr.js +7 -0
  69. package/lib/ckeditor/plugins/horizontalrule/lang/tt.js +7 -0
  70. package/lib/ckeditor/plugins/horizontalrule/lang/ug.js +7 -0
  71. package/lib/ckeditor/plugins/horizontalrule/lang/uk.js +7 -0
  72. package/lib/ckeditor/plugins/horizontalrule/lang/vi.js +7 -0
  73. package/lib/ckeditor/plugins/horizontalrule/lang/zh-cn.js +7 -0
  74. package/lib/ckeditor/plugins/horizontalrule/lang/zh.js +7 -0
  75. package/lib/ckeditor/plugins/horizontalrule/plugin.js +86 -0
  76. package/lib/ckeditor/plugins/icons.png +0 -0
  77. package/lib/ckeditor/plugins/icons_hidpi.png +0 -0
  78. package/lib/ckeditor/plugins/taolanguage/icons/hidpi/language.png +0 -0
  79. package/lib/ckeditor/plugins/taolanguage/icons/language.png +0 -0
  80. package/lib/ckeditor/plugins/taolanguage/lang/ar.js +5 -0
  81. package/lib/ckeditor/plugins/taolanguage/lang/az.js +5 -0
  82. package/lib/ckeditor/plugins/taolanguage/lang/bg.js +5 -0
  83. package/lib/ckeditor/plugins/taolanguage/lang/ca.js +5 -0
  84. package/lib/ckeditor/plugins/taolanguage/lang/cs.js +5 -0
  85. package/lib/ckeditor/plugins/taolanguage/lang/cy.js +5 -0
  86. package/lib/ckeditor/plugins/taolanguage/lang/da.js +5 -0
  87. package/lib/ckeditor/plugins/taolanguage/lang/de-ch.js +5 -0
  88. package/lib/ckeditor/plugins/taolanguage/lang/de.js +5 -0
  89. package/lib/ckeditor/plugins/taolanguage/lang/el.js +5 -0
  90. package/lib/ckeditor/plugins/taolanguage/lang/en-au.js +5 -0
  91. package/lib/ckeditor/plugins/taolanguage/lang/en-gb.js +5 -0
  92. package/lib/ckeditor/plugins/taolanguage/lang/en.js +5 -0
  93. package/lib/ckeditor/plugins/taolanguage/lang/eo.js +5 -0
  94. package/lib/ckeditor/plugins/taolanguage/lang/es-mx.js +5 -0
  95. package/lib/ckeditor/plugins/taolanguage/lang/es.js +5 -0
  96. package/lib/ckeditor/plugins/taolanguage/lang/et.js +5 -0
  97. package/lib/ckeditor/plugins/taolanguage/lang/eu.js +5 -0
  98. package/lib/ckeditor/plugins/taolanguage/lang/fa.js +5 -0
  99. package/lib/ckeditor/plugins/taolanguage/lang/fi.js +5 -0
  100. package/lib/ckeditor/plugins/taolanguage/lang/fo.js +5 -0
  101. package/lib/ckeditor/plugins/taolanguage/lang/fr.js +5 -0
  102. package/lib/ckeditor/plugins/taolanguage/lang/gl.js +5 -0
  103. package/lib/ckeditor/plugins/taolanguage/lang/he.js +5 -0
  104. package/lib/ckeditor/plugins/taolanguage/lang/hr.js +5 -0
  105. package/lib/ckeditor/plugins/taolanguage/lang/hu.js +5 -0
  106. package/lib/ckeditor/plugins/taolanguage/lang/id.js +5 -0
  107. package/lib/ckeditor/plugins/taolanguage/lang/it.js +5 -0
  108. package/lib/ckeditor/plugins/taolanguage/lang/ja.js +5 -0
  109. package/lib/ckeditor/plugins/taolanguage/lang/km.js +5 -0
  110. package/lib/ckeditor/plugins/taolanguage/lang/ko.js +5 -0
  111. package/lib/ckeditor/plugins/taolanguage/lang/ku.js +5 -0
  112. package/lib/ckeditor/plugins/taolanguage/lang/lt.js +5 -0
  113. package/lib/ckeditor/plugins/taolanguage/lang/lv.js +5 -0
  114. package/lib/ckeditor/plugins/taolanguage/lang/nb.js +5 -0
  115. package/lib/ckeditor/plugins/taolanguage/lang/nl.js +5 -0
  116. package/lib/ckeditor/plugins/taolanguage/lang/no.js +5 -0
  117. package/lib/ckeditor/plugins/taolanguage/lang/oc.js +5 -0
  118. package/lib/ckeditor/plugins/taolanguage/lang/pl.js +5 -0
  119. package/lib/ckeditor/plugins/taolanguage/lang/pt-br.js +5 -0
  120. package/lib/ckeditor/plugins/taolanguage/lang/pt.js +5 -0
  121. package/lib/ckeditor/plugins/taolanguage/lang/ro.js +5 -0
  122. package/lib/ckeditor/plugins/taolanguage/lang/ru.js +5 -0
  123. package/lib/ckeditor/plugins/taolanguage/lang/sk.js +5 -0
  124. package/lib/ckeditor/plugins/taolanguage/lang/sl.js +5 -0
  125. package/lib/ckeditor/plugins/taolanguage/lang/sq.js +5 -0
  126. package/lib/ckeditor/plugins/taolanguage/lang/sr-latn.js +5 -0
  127. package/lib/ckeditor/plugins/taolanguage/lang/sr.js +5 -0
  128. package/lib/ckeditor/plugins/taolanguage/lang/sv.js +5 -0
  129. package/lib/ckeditor/plugins/taolanguage/lang/tr.js +5 -0
  130. package/lib/ckeditor/plugins/taolanguage/lang/tt.js +5 -0
  131. package/lib/ckeditor/plugins/taolanguage/lang/ug.js +5 -0
  132. package/lib/ckeditor/plugins/taolanguage/lang/uk.js +5 -0
  133. package/lib/ckeditor/plugins/taolanguage/lang/vi.js +5 -0
  134. package/lib/ckeditor/plugins/taolanguage/lang/zh-cn.js +5 -0
  135. package/lib/ckeditor/plugins/taolanguage/lang/zh.js +5 -0
  136. package/lib/ckeditor/plugins/taolanguage/plugin.js +9 -0
  137. package/lib/ckeditor/plugins/taomediamanager/lang/ja.js +1 -0
  138. package/lib/ckeditor/plugins/taomediamanager/plugin.js +1 -1
  139. package/lib/ckeditor/skins/kama/editor.css +1 -1
  140. package/lib/ckeditor/skins/kama/editor_ie.css +1 -1
  141. package/lib/ckeditor/skins/kama/editor_ie7.css +1 -1
  142. package/lib/ckeditor/skins/kama/editor_ie8.css +1 -1
  143. package/lib/ckeditor/skins/kama/editor_iequirks.css +1 -1
  144. package/lib/ckeditor/skins/kama/icons.png +0 -0
  145. package/lib/ckeditor/skins/kama/icons_hidpi.png +0 -0
  146. package/lib/ckeditor/skins/moono/editor.css +1 -1
  147. package/lib/ckeditor/skins/moono/editor_gecko.css +1 -1
  148. package/lib/ckeditor/skins/moono/editor_ie.css +1 -1
  149. package/lib/ckeditor/skins/moono/editor_ie7.css +1 -1
  150. package/lib/ckeditor/skins/moono/editor_ie8.css +1 -1
  151. package/lib/ckeditor/skins/moono/editor_iequirks.css +1 -1
  152. package/lib/ckeditor/skins/moono/icons.png +0 -0
  153. package/lib/ckeditor/skins/moono/icons_hidpi.png +0 -0
  154. package/lib/ckeditor/skins/moono-lisa/editor.css +1 -1
  155. package/lib/ckeditor/skins/moono-lisa/editor_gecko.css +1 -1
  156. package/lib/ckeditor/skins/moono-lisa/editor_ie.css +1 -1
  157. package/lib/ckeditor/skins/moono-lisa/editor_ie8.css +1 -1
  158. package/lib/ckeditor/skins/moono-lisa/editor_iequirks.css +1 -1
  159. package/lib/ckeditor/skins/moono-lisa/icons.png +0 -0
  160. package/lib/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  161. package/lib/ckeditor/skins/tao/dialog.css.map +1 -16
  162. package/lib/ckeditor/skins/tao/editor.css +1 -1
  163. package/lib/ckeditor/skins/tao/editor.css.map +1 -1
  164. package/lib/ckeditor/skins/tao/icons.png +0 -0
  165. package/lib/ckeditor/skins/tao/icons_hidpi.png +0 -0
  166. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'si', {
6
+ toolbar: 'තිරස් රේඛාවක් ඇතුලත් කරන්න'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sk', {
6
+ toolbar: 'Vložiť vodorovnú čiaru'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sl', {
6
+ toolbar: 'Vstavi vodoravno črto'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sq', {
6
+ toolbar: 'Shto Vijë Horizontale'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sr-latn', {
6
+ toolbar: 'Unesi horizontalnu liniju'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sr', {
6
+ toolbar: 'Унеси хоризонталну линију'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'sv', {
6
+ toolbar: 'Infoga horisontal linje'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'th', {
6
+ toolbar: 'แทรกเส้นคั่นบรรทัด'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'tr', {
6
+ toolbar: 'Yatay Satır Ekle'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'tt', {
6
+ toolbar: 'Ятма сызык өстәү'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'ug', {
6
+ toolbar: 'توغرا سىزىق قىستۇر'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'uk', {
6
+ toolbar: 'Горизонтальна лінія'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'vi', {
6
+ toolbar: 'Chèn đường phân cách ngang'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'zh-cn', {
6
+ toolbar: '插入水平线'
7
+ } );
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'horizontalrule', 'zh', {
6
+ toolbar: '插入水平線'
7
+ } );
@@ -0,0 +1,86 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ /**
7
+ * @fileOverview Horizontal Rule plugin.
8
+ */
9
+
10
+ ( function() {
11
+ var horizontalruleCmd = {
12
+ canUndo: false, // The undo snapshot will be handled by 'insertElement'.
13
+ exec: function( editor ) {
14
+ var hr = editor.document.createElement( 'hr' );
15
+ editor.insertElement( hr );
16
+ },
17
+ allowedContent: 'hr',
18
+ requiredContent: 'hr'
19
+ };
20
+
21
+ var pluginName = 'horizontalrule';
22
+
23
+ // Register a plugin named "horizontalrule".
24
+ CKEDITOR.plugins.add( pluginName, {
25
+ // jscs:disable maximumLineLength
26
+ lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
27
+ // jscs:enable maximumLineLength
28
+ icons: 'horizontalrule', // %REMOVE_LINE_CORE%
29
+ hidpi: true, // %REMOVE_LINE_CORE%
30
+ init: function( editor ) {
31
+ if ( editor.blockless )
32
+ return;
33
+
34
+ editor.addCommand( pluginName, horizontalruleCmd );
35
+ editor.ui.addButton && editor.ui.addButton( 'HorizontalRule', {
36
+ label: editor.lang.horizontalrule.toolbar,
37
+ command: pluginName,
38
+ toolbar: 'insert,40'
39
+ } );
40
+
41
+ //changes made by OAT-SA 2022
42
+ //add a class to <hr> tags when they're part of a text selection
43
+ var selectionClass = 'text-selected';
44
+ function getEditableHrs(){
45
+ var editable = editor.editable();
46
+ if (editable) {
47
+ return editable.$.querySelectorAll('hr');
48
+ }
49
+ return [];
50
+ }
51
+ function removeSelectionClass(hrs) {
52
+ if(hrs && hrs.length) {
53
+ hrs.forEach(function(hr){
54
+ hr.classList.remove(selectionClass);
55
+ });
56
+ }
57
+ }
58
+ function handleSelection() {
59
+ var selection;
60
+ var range;
61
+ var hrs = getEditableHrs();
62
+ if (hrs.length) {
63
+ removeSelectionClass(hrs);
64
+
65
+ selection = document.getSelection();
66
+ range = selection.getRangeAt(0);
67
+ if (range && !range.collapsed) {
68
+ hrs.forEach(function(hr) {
69
+ if (range.intersectsNode(hr)) {
70
+ hr.classList.add(selectionClass);
71
+ }
72
+ });
73
+ }
74
+ }
75
+ }
76
+ editor.on('contentDom', function(){
77
+ document.addEventListener('selectionchange', handleSelection);
78
+ });
79
+ editor.on('contentDomUnload', function(){
80
+ removeSelectionClass(getEditableHrs());
81
+ document.removeEventListener('selectionchange', handleSelection);
82
+ });
83
+ //end changes
84
+ }
85
+ } );
86
+ } )();
Binary file
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ar",{button:"حدد اللغة",remove:"حذف اللغة"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","az",{button:"Dilini təyin et",remove:"Dilini sil"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","bg",{button:"Задай език",remove:"Премахни език"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ca",{button:"Definir l'idioma",remove:"Eliminar idioma"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","cs",{button:"Nastavit jazyk",remove:"Odstranit jazyk"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","cy",{button:"Gosod iaith",remove:"Tynnu iaith"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","da",{button:"Vælg sprog",remove:"Fjern sprog"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","de-ch",{button:"Sprache festlegen",remove:"Sprache entfernen"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","de",{button:"Sprache festlegen",remove:"Sprache entfernen"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","el",{button:"Θέση γλώσσας",remove:"Αφαίρεση γλώσσας"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","en-au",{button:"Set language",remove:"Remove language"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","en-gb",{button:"Set language",remove:"Remove language"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","en",{button:"Set language",remove:"Remove language"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","eo",{button:"Instali lingvon",remove:"Forigi lingvon"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","es-mx",{button:"Establecer idioma",remove:"Remover idioma"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","es",{button:"Fijar lenguaje",remove:"Quitar lenguaje"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","et",{button:"Määra keel",remove:"Eemalda keel"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","eu",{button:"Ezarri hizkuntza",remove:"Kendu hizkuntza"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","fa",{button:"تعیین زبان",remove:"حذف زبان"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","fi",{button:"Aseta kieli",remove:"Poista kieli"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","fo",{button:"Velja tungumál",remove:"Remove language"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","fr",{button:"Définir la langue",remove:"Supprimer la langue"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","gl",{button:"Estabelezer o idioma",remove:"Retirar o idioma"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","he",{button:"צור שפה",remove:"הסר שפה"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","hr",{button:"Namjesti jezik",remove:"Makni jezik"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","hu",{button:"Nyelv beállítása",remove:"Nyelv eltávolítása"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","id",{button:"Atur Bahasa",remove:"Hapus Bahasa"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","it",{button:"Imposta lingua",remove:"Rimuovi lingua"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ja",{button:"言語を設定",remove:"言語を削除"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","km",{button:"កំណត់​ភាសា",remove:"លុប​ភាសា"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ko",{button:"언어 설정",remove:"언어 설정 지우기"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ku",{button:"جێگیرکردنی زمان",remove:"لابردنی زمان"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","lt",{button:"Nustatyti kalbą",remove:"Pašalinti kalbą"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","lv",{button:"Uzstādīt valodu",remove:"Noņemt valodu"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","nb",{button:"Sett språk",remove:"Fjern språk"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","nl",{button:"Taal instellen",remove:"Taal verwijderen"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","no",{button:"Sett språk",remove:"Fjern språk"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","oc",{button:"Definir la lenga",remove:"Suprimir la lenga"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","pl",{button:"Ustaw język",remove:"Usuń język"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","pt-br",{button:"Configure o Idioma",remove:"Remover Idioma"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","pt",{button:"Definir Idioma",remove:"Remover idioma"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ro",{button:"Alege limba",remove:"Șterge limba deja selectată"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ru",{button:"Установка языка",remove:"Удалить язык"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sk",{button:"Nastaviť jazyk",remove:"Odstrániť jazyk"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sl",{button:"Nastavi jezik",remove:"Odstrani jezik"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sq",{button:"Përzgjidhni gjuhën",remove:"Largoni gjuhën"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sr-latn",{button:"Podesi jezik",remove:"Odstrani jezik"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sr",{button:"Подеси језик",remove:"Одстрани језик"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","sv",{button:"Sätt språk",remove:"Ta bort språk"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","tr",{button:"Dili seç",remove:"Dili kaldır"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","tt",{button:"Тел сайлау",remove:"Телне бетерү"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","ug",{button:"تىل تەڭشەك",remove:"تىلنى چىقىرىۋەت"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang("taolanguage","uk",{button:"Установити мову",remove:"Вилучити мову"});