@ckeditor/ckeditor5-template 41.3.0-alpha.4 → 41.3.1

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 (201) hide show
  1. package/build/template.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/en-au.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/gl.js +1 -1
  16. package/build/translations/he.js +1 -1
  17. package/build/translations/hi.js +1 -1
  18. package/build/translations/hr.js +1 -1
  19. package/build/translations/hu.js +1 -1
  20. package/build/translations/id.js +1 -1
  21. package/build/translations/it.js +1 -1
  22. package/build/translations/ja.js +1 -1
  23. package/build/translations/ko.js +1 -1
  24. package/build/translations/lt.js +1 -1
  25. package/build/translations/lv.js +1 -1
  26. package/build/translations/ms.js +1 -1
  27. package/build/translations/nl.js +1 -1
  28. package/build/translations/no.js +1 -1
  29. package/build/translations/pl.js +1 -1
  30. package/build/translations/pt-br.js +1 -1
  31. package/build/translations/pt.js +1 -1
  32. package/build/translations/ro.js +1 -1
  33. package/build/translations/ru.js +1 -1
  34. package/build/translations/sk.js +1 -1
  35. package/build/translations/sr-latn.js +1 -1
  36. package/build/translations/sr.js +1 -1
  37. package/build/translations/sv.js +1 -1
  38. package/build/translations/th.js +1 -1
  39. package/build/translations/tr.js +1 -1
  40. package/build/translations/uk.js +1 -1
  41. package/build/translations/uz.js +1 -1
  42. package/build/translations/vi.js +1 -1
  43. package/build/translations/zh-cn.js +1 -1
  44. package/build/translations/zh.js +1 -1
  45. package/lang/contexts.json +1 -0
  46. package/lang/translations/ar.po +4 -0
  47. package/lang/translations/bg.po +4 -0
  48. package/lang/translations/bn.po +4 -0
  49. package/lang/translations/ca.po +4 -0
  50. package/lang/translations/cs.po +4 -0
  51. package/lang/translations/da.po +4 -0
  52. package/lang/translations/de.po +4 -0
  53. package/lang/translations/el.po +4 -0
  54. package/lang/translations/en-au.po +4 -0
  55. package/lang/translations/en.po +4 -0
  56. package/lang/translations/es.po +4 -0
  57. package/lang/translations/et.po +4 -0
  58. package/lang/translations/fi.po +4 -0
  59. package/lang/translations/fr.po +4 -0
  60. package/lang/translations/gl.po +4 -0
  61. package/lang/translations/he.po +4 -0
  62. package/lang/translations/hi.po +4 -0
  63. package/lang/translations/hr.po +4 -0
  64. package/lang/translations/hu.po +4 -0
  65. package/lang/translations/id.po +4 -0
  66. package/lang/translations/it.po +4 -0
  67. package/lang/translations/ja.po +4 -0
  68. package/lang/translations/ko.po +4 -0
  69. package/lang/translations/lt.po +4 -0
  70. package/lang/translations/lv.po +4 -0
  71. package/lang/translations/ms.po +4 -0
  72. package/lang/translations/nl.po +4 -0
  73. package/lang/translations/no.po +4 -0
  74. package/lang/translations/pl.po +4 -0
  75. package/lang/translations/pt-br.po +4 -0
  76. package/lang/translations/pt.po +4 -0
  77. package/lang/translations/ro.po +4 -0
  78. package/lang/translations/ru.po +4 -0
  79. package/lang/translations/sk.po +4 -0
  80. package/lang/translations/sr-latn.po +4 -0
  81. package/lang/translations/sr.po +4 -0
  82. package/lang/translations/sv.po +4 -0
  83. package/lang/translations/th.po +4 -0
  84. package/lang/translations/tr.po +4 -0
  85. package/lang/translations/uk.po +4 -0
  86. package/lang/translations/uz.po +4 -0
  87. package/lang/translations/vi.po +4 -0
  88. package/lang/translations/zh-cn.po +4 -0
  89. package/lang/translations/zh.po +4 -0
  90. package/package.json +4 -5
  91. package/src/index.js +1 -1
  92. package/src/template.d.ts +1 -1
  93. package/src/template.js +1 -1
  94. package/src/templatecommand.js +1 -1
  95. package/src/templateediting.js +1 -1
  96. package/src/templateui.js +1 -1
  97. package/src/ui/templatelistbuttonview.js +1 -1
  98. package/src/ui/templatelistitemview.d.ts +1 -1
  99. package/src/ui/templatelistitemview.js +1 -1
  100. package/src/ui/templatelistview.js +1 -1
  101. package/theme/template.css +15 -11
  102. package/dist/content-index.css +0 -332
  103. package/dist/editor-index.css +0 -406
  104. package/dist/index.css +0 -1101
  105. package/dist/translations/ar.d.ts +0 -8
  106. package/dist/translations/ar.js +0 -23
  107. package/dist/translations/bg.d.ts +0 -8
  108. package/dist/translations/bg.js +0 -23
  109. package/dist/translations/bn.d.ts +0 -8
  110. package/dist/translations/bn.js +0 -23
  111. package/dist/translations/ca.d.ts +0 -8
  112. package/dist/translations/ca.js +0 -23
  113. package/dist/translations/cs.d.ts +0 -8
  114. package/dist/translations/cs.js +0 -23
  115. package/dist/translations/da.d.ts +0 -8
  116. package/dist/translations/da.js +0 -23
  117. package/dist/translations/de.d.ts +0 -8
  118. package/dist/translations/de.js +0 -23
  119. package/dist/translations/el.d.ts +0 -8
  120. package/dist/translations/el.js +0 -23
  121. package/dist/translations/en-au.d.ts +0 -8
  122. package/dist/translations/en-au.js +0 -23
  123. package/dist/translations/en.d.ts +0 -8
  124. package/dist/translations/en.js +0 -23
  125. package/dist/translations/es.d.ts +0 -8
  126. package/dist/translations/es.js +0 -23
  127. package/dist/translations/et.d.ts +0 -8
  128. package/dist/translations/et.js +0 -23
  129. package/dist/translations/fi.d.ts +0 -8
  130. package/dist/translations/fi.js +0 -23
  131. package/dist/translations/fr.d.ts +0 -8
  132. package/dist/translations/fr.js +0 -23
  133. package/dist/translations/gl.d.ts +0 -8
  134. package/dist/translations/gl.js +0 -23
  135. package/dist/translations/he.d.ts +0 -8
  136. package/dist/translations/he.js +0 -23
  137. package/dist/translations/hi.d.ts +0 -8
  138. package/dist/translations/hi.js +0 -23
  139. package/dist/translations/hr.d.ts +0 -8
  140. package/dist/translations/hr.js +0 -23
  141. package/dist/translations/hu.d.ts +0 -8
  142. package/dist/translations/hu.js +0 -23
  143. package/dist/translations/id.d.ts +0 -8
  144. package/dist/translations/id.js +0 -23
  145. package/dist/translations/it.d.ts +0 -8
  146. package/dist/translations/it.js +0 -23
  147. package/dist/translations/ja.d.ts +0 -8
  148. package/dist/translations/ja.js +0 -23
  149. package/dist/translations/ko.d.ts +0 -8
  150. package/dist/translations/ko.js +0 -23
  151. package/dist/translations/lt.d.ts +0 -8
  152. package/dist/translations/lt.js +0 -23
  153. package/dist/translations/lv.d.ts +0 -8
  154. package/dist/translations/lv.js +0 -23
  155. package/dist/translations/ms.d.ts +0 -8
  156. package/dist/translations/ms.js +0 -23
  157. package/dist/translations/nl.d.ts +0 -8
  158. package/dist/translations/nl.js +0 -23
  159. package/dist/translations/no.d.ts +0 -8
  160. package/dist/translations/no.js +0 -23
  161. package/dist/translations/pl.d.ts +0 -8
  162. package/dist/translations/pl.js +0 -23
  163. package/dist/translations/pt-br.d.ts +0 -8
  164. package/dist/translations/pt-br.js +0 -23
  165. package/dist/translations/pt.d.ts +0 -8
  166. package/dist/translations/pt.js +0 -23
  167. package/dist/translations/ro.d.ts +0 -8
  168. package/dist/translations/ro.js +0 -23
  169. package/dist/translations/ru.d.ts +0 -8
  170. package/dist/translations/ru.js +0 -23
  171. package/dist/translations/sk.d.ts +0 -8
  172. package/dist/translations/sk.js +0 -23
  173. package/dist/translations/sr-latn.d.ts +0 -8
  174. package/dist/translations/sr-latn.js +0 -23
  175. package/dist/translations/sr.d.ts +0 -8
  176. package/dist/translations/sr.js +0 -23
  177. package/dist/translations/sv.d.ts +0 -8
  178. package/dist/translations/sv.js +0 -23
  179. package/dist/translations/th.d.ts +0 -8
  180. package/dist/translations/th.js +0 -23
  181. package/dist/translations/tr.d.ts +0 -8
  182. package/dist/translations/tr.js +0 -23
  183. package/dist/translations/uk.d.ts +0 -8
  184. package/dist/translations/uk.js +0 -23
  185. package/dist/translations/uz.d.ts +0 -8
  186. package/dist/translations/uz.js +0 -23
  187. package/dist/translations/vi.d.ts +0 -8
  188. package/dist/translations/vi.js +0 -23
  189. package/dist/translations/zh-cn.d.ts +0 -8
  190. package/dist/translations/zh-cn.js +0 -23
  191. package/dist/translations/zh.d.ts +0 -8
  192. package/dist/translations/zh.js +0 -23
  193. package/dist/types/augmentation.d.ts +0 -27
  194. package/dist/types/index.d.ts +0 -17
  195. package/dist/types/template.d.ts +0 -119
  196. package/dist/types/templatecommand.d.ts +0 -27
  197. package/dist/types/templateediting.d.ts +0 -34
  198. package/dist/types/templateui.d.ts +0 -33
  199. package/dist/types/ui/templatelistbuttonview.d.ts +0 -108
  200. package/dist/types/ui/templatelistitemview.d.ts +0 -38
  201. package/dist/types/ui/templatelistview.d.ts +0 -42
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'sr':{'dictionary':{'Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Pokušajte\x20sa\x20drugom\x20frazom\x20ili\x20proverite\x20pravopis.','Search\x20template':'Potraži\x20predložak'},'getPluralForm':_0x182658=>_0x182658%0xa==0x1&&_0x182658%0x64!=0xb?0x0:_0x182658%0xa>=0x2&&_0x182658%0xa<=0x4&&(_0x182658%0x64<0xa||_0x182658%0x64>=0x14)?0x1:0x2}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'sv':{'dictionary':{'Insert\x20template':'Infoga\x20mall','No\x20templates\x20available.':'Inga\x20mallar\x20finns.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Inga\x20mallar\x20hittades\x20som\x20matchar\x20\x22%0\x22.','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Prova\x20en\x20annan\x20fras\x20eller\x20kontrollera\x20stavningen.','Search\x20template':'Sök\x20mall'},'getPluralForm':_0x1dfc8f=>0x1!=_0x1dfc8f}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'th':{'dictionary':{'Insert\x20template':'แทรกเทมเพลต','No\x20templates\x20available.':'ไม่มีเทมเพลต','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'ไม่พบเทมเพลตที่ตรงกับ\x20\x22%0\x22','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'โปรดลองใช้วลีอื่นหรือตรวจสอบตัวสะกด','Search\x20template':'ค้นหาเทมเพลต'},'getPluralForm':_0x271c29=>0x0}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'tr':{'dictionary':{'Insert\x20template':'Şablon\x20ekle','No\x20templates\x20available.':'Kullanılabilir\x20şablon\x20yok.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'\x22%0\x22\x20ile\x20eşleşen\x20şablon\x20bulunamadı.','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Lütfen\x20farklı\x20bir\x20kelime\x20grubu\x20deneyin\x20veya\x20yazım\x20denetimi\x20yapın.','Search\x20template':'Şablon\x20ara'},'getPluralForm':_0x43699c=>_0x43699c>0x1}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'uk':{'dictionary':{'Insert\x20template':'Вставити\x20шаблон','No\x20templates\x20available.':'Немає\x20доступних\x20шаблонів','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Не\x20знайдено\x20шаблонів,\x20які\x20б\x20відповідали\x20\x22%0\x22.','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Будь\x20ласка,\x20спробуйте\x20іншу\x20фразу\x20або\x20перевірте\x20написання.','Search\x20template':'Шукати\x20шаблон'},'getPluralForm':_0xe58af2=>_0xe58af2%0x1==0x0&&_0xe58af2%0xa==0x1&&_0xe58af2%0x64!=0xb?0x0:_0xe58af2%0x1==0x0&&_0xe58af2%0xa>=0x2&&_0xe58af2%0xa<=0x4&&(_0xe58af2%0x64<0xc||_0xe58af2%0x64>0xe)?0x1:_0xe58af2%0x1==0x0&&(_0xe58af2%0xa==0x0||_0xe58af2%0xa>=0x5&&_0xe58af2%0xa<=0x9||_0xe58af2%0x64>=0xb&&_0xe58af2%0x64<=0xe)?0x2:0x3}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'uz':{'dictionary':{'Insert\x20template':'Shablonni\x20kiritish','No\x20templates\x20available.':'Hech\x20qanday\x20shablon\x20mavjud\x20emas.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Iltimos,\x20boshqa\x20iborani\x20sinab\x20ko\x27ring\x20yoki\x20imloni\x20tekshiring.','Search\x20template':'Shablonni\x20qidirish'},'getPluralForm':_0x5ab5c0=>0x0}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'vi':{'dictionary':{'Insert\x20template':'Chèn\x20mẫu\x20sẵn','No\x20templates\x20available.':'Không\x20có\x20mẫu\x20sẵn\x20nào.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Không\x20tìm\x20thấy\x20mẫu\x20sẵn\x20nào\x20khớp\x20với\x20\x22%0\x22.','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'Vui\x20lòng\x20thử\x20một\x20cụm\x20từ\x20khác\x20hoặc\x20kiểm\x20tra\x20lại\x20cụm\x20từ.','Search\x20template':'Tìm\x20mẫu\x20sẵn'},'getPluralForm':_0x251eb0=>0x0}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'zh-cn':{'dictionary':{'Insert\x20template':'插入模板','No\x20templates\x20available.':'无可用的模板','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'未找到与\x22%0\x22匹配的模板。','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'请尝试使用不同的短语或检查拼写。','Search\x20template':'搜索模板'},'getPluralForm':_0x3f0e09=>0x0}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export default{'zh':{'dictionary':{'Insert\x20template':'插入範本','No\x20templates\x20available.':'無可用範本。','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'找不到符合「%0」的範本','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':'請嘗試其他詞彙或確認拼寫是否正確。','Search\x20template':'搜尋範本'},'getPluralForm':_0x50fcdc=>0x0}};
@@ -1,27 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- import type { Template, TemplateCommand, TemplateEditing, TemplateUI, TemplateConfig } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [Template.pluginName]: Template;
13
- [TemplateEditing.pluginName]: TemplateEditing;
14
- [TemplateUI.pluginName]: TemplateUI;
15
- }
16
- interface CommandsMap {
17
- insertTemplate: TemplateCommand;
18
- }
19
- interface EditorConfig {
20
- /**
21
- * The configuration of the {@link module:template/template~Template} feature.
22
- *
23
- * Read more in {@link module:template/template~TemplateConfig}.
24
- */
25
- template?: TemplateConfig;
26
- }
27
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module template
11
- */
12
- export { default as Template } from './template.js';
13
- export { default as TemplateCommand } from './templatecommand.js';
14
- export { default as TemplateEditing } from './templateediting.js';
15
- export { default as TemplateUI } from './templateui.js';
16
- export type { TemplateConfig, TemplateDefinition } from './template.js';
17
- import './augmentation.js';
@@ -1,119 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module template/template
11
- * @publicApi
12
- */
13
- import { Plugin } from 'ckeditor5/src/core.js';
14
- import TemplateEditing from './templateediting.js';
15
- import TemplateUI from './templateui.js';
16
- /**
17
- * The template feature.
18
- *
19
- * For a detailed overview, check the {@glink features/template Content templates} feature guide.
20
- */
21
- export default class Template extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof TemplateEditing, typeof TemplateUI];
26
- /**
27
- * @inheritDoc
28
- */
29
- static get pluginName(): "Template";
30
- }
31
- /**
32
- * The configuration of the template feature.
33
- *
34
- * ```ts
35
- * ClassicEditor
36
- * .create( {
37
- * template: ... // Template feature configuration.
38
- * } )
39
- * .then( ... )
40
- * .catch( ... );
41
- *```
42
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
43
- */
44
- export interface TemplateConfig {
45
- /**
46
- * A list of all template definitions to be displayed in the `'insertTemplate'` UI dropdown.
47
- *
48
- * An example configuration:
49
- *
50
- * ```json
51
- * {
52
- * template: {
53
- * definitions: [
54
- * {
55
- * title: 'Issue acknowledgement (plain text)',
56
- * data: 'Dear customer, thank you for your report! The issue is currently being worked on by our development team.'
57
- * },
58
- * {
59
- * title: 'Signature (multi-line)',
60
- * data: '<p><b>Jane Doe</b></p><p>Marketing Specialist at <a href="https://example.com>Example.com</a></p>',
61
- * description: 'Author signature with the link to the website.'
62
- * },
63
- * {
64
- * title: 'Example table',
65
- * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
66
- * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
67
- * description: 'This template inserts a table.'
68
- * },
69
- * {
70
- * title: 'Insert userAgent data',
71
- * data: navigator.userAgent
72
- * },
73
- * {
74
- * title: 'Insert translate to English link (function)',
75
- * data: () => '<a href="' + location.href + '/en" title="Translate to English">Translate to English</a>'
76
- * },
77
- * // ...
78
- * ]
79
- * }
80
- * }
81
- * ```
82
- */
83
- definitions?: Array<TemplateDefinition>;
84
- }
85
- /**
86
- * An object describing a single template definition.
87
- *
88
- * ```json
89
- * {
90
- * // Mandatory fields:
91
- * title: 'Example template',
92
- * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
93
- *
94
- * // Optional configuration:
95
- * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
96
- * description: 'This template inserts a table.'
97
- * }
98
- * ```
99
- */
100
- export type TemplateDefinition = {
101
- /**
102
- * The title of the template.
103
- */
104
- title: string;
105
- /**
106
- * An HTML string to be inserted into the document or a callback function that returns an HTML string
107
- * to be inserted into the document when the template is selected.
108
- */
109
- data: () => string | string;
110
- /**
111
- * An optional SVG string representing the icon of the template. The default size of the icon is 45x45 pixels.
112
- * Be sure to set the correct `viewBox` attribute in the icon source. If not provided, a generic icon will be used instead.
113
- */
114
- icon?: string;
115
- /**
116
- * An optional long description of the template presented to the users.
117
- */
118
- description?: string;
119
- };
@@ -1,27 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module template/templatecommand
11
- * @publicApi
12
- */
13
- import { Command } from 'ckeditor5/src/core.js';
14
- /**
15
- * The template command.
16
- *
17
- * Inserts a template into the editor content.
18
- */
19
- export default class TemplateCommand extends Command {
20
- /**
21
- * Inserts the template data at the position of the selection.
22
- *
23
- * @fires execute
24
- * @param templateData Template data should be a raw HTML string or a function that returns one.
25
- */
26
- execute(templateData: string | Function): void;
27
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module template/templateediting
11
- */
12
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
- /**
14
- * The template editing plugin.
15
- */
16
- export default class TemplateEditing extends Plugin {
17
- licenseKey: string;
18
- /**
19
- * @inheritDoc
20
- */
21
- static get pluginName(): "TemplateEditing";
22
- /**
23
- * @inheritDoc
24
- */
25
- constructor(editor: Editor);
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- destroy(): void;
34
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module template/templateui
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import '../theme/template.css';
14
- /**
15
- * The UI plugin of the template feature.
16
- *
17
- * It registers the `'insertTemplate'` UI dropdown in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
18
- * that displays a list of templates and allows to insert them into the editor content.
19
- */
20
- export default class TemplateUI extends Plugin {
21
- /**
22
- * @inheritDoc
23
- */
24
- static get pluginName(): "TemplateUI";
25
- /**
26
- * @inheritDoc
27
- */
28
- init(): void;
29
- /**
30
- * @inheritDoc
31
- */
32
- afterInit(): void;
33
- }