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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/package.json +7 -8
  2. package/src/utils.js +1 -0
  3. package/src/widget.d.ts +8 -0
  4. package/src/widget.js +85 -1
  5. package/dist/content-index.css +0 -4
  6. package/dist/editor-index.css +0 -144
  7. package/dist/index.css +0 -257
  8. package/dist/index.css.map +0 -1
  9. package/dist/translations/ar.d.ts +0 -8
  10. package/dist/translations/ar.js +0 -5
  11. package/dist/translations/az.d.ts +0 -8
  12. package/dist/translations/az.js +0 -5
  13. package/dist/translations/bg.d.ts +0 -8
  14. package/dist/translations/bg.js +0 -5
  15. package/dist/translations/bn.d.ts +0 -8
  16. package/dist/translations/bn.js +0 -5
  17. package/dist/translations/ca.d.ts +0 -8
  18. package/dist/translations/ca.js +0 -5
  19. package/dist/translations/cs.d.ts +0 -8
  20. package/dist/translations/cs.js +0 -5
  21. package/dist/translations/da.d.ts +0 -8
  22. package/dist/translations/da.js +0 -5
  23. package/dist/translations/de-ch.d.ts +0 -8
  24. package/dist/translations/de-ch.js +0 -5
  25. package/dist/translations/de.d.ts +0 -8
  26. package/dist/translations/de.js +0 -5
  27. package/dist/translations/el.d.ts +0 -8
  28. package/dist/translations/el.js +0 -5
  29. package/dist/translations/en-au.d.ts +0 -8
  30. package/dist/translations/en-au.js +0 -5
  31. package/dist/translations/en.d.ts +0 -8
  32. package/dist/translations/en.js +0 -5
  33. package/dist/translations/es.d.ts +0 -8
  34. package/dist/translations/es.js +0 -5
  35. package/dist/translations/et.d.ts +0 -8
  36. package/dist/translations/et.js +0 -5
  37. package/dist/translations/fa.d.ts +0 -8
  38. package/dist/translations/fa.js +0 -5
  39. package/dist/translations/fi.d.ts +0 -8
  40. package/dist/translations/fi.js +0 -5
  41. package/dist/translations/fr.d.ts +0 -8
  42. package/dist/translations/fr.js +0 -5
  43. package/dist/translations/gl.d.ts +0 -8
  44. package/dist/translations/gl.js +0 -5
  45. package/dist/translations/he.d.ts +0 -8
  46. package/dist/translations/he.js +0 -5
  47. package/dist/translations/hi.d.ts +0 -8
  48. package/dist/translations/hi.js +0 -5
  49. package/dist/translations/hr.d.ts +0 -8
  50. package/dist/translations/hr.js +0 -5
  51. package/dist/translations/hu.d.ts +0 -8
  52. package/dist/translations/hu.js +0 -5
  53. package/dist/translations/id.d.ts +0 -8
  54. package/dist/translations/id.js +0 -5
  55. package/dist/translations/it.d.ts +0 -8
  56. package/dist/translations/it.js +0 -5
  57. package/dist/translations/ja.d.ts +0 -8
  58. package/dist/translations/ja.js +0 -5
  59. package/dist/translations/ko.d.ts +0 -8
  60. package/dist/translations/ko.js +0 -5
  61. package/dist/translations/ku.d.ts +0 -8
  62. package/dist/translations/ku.js +0 -5
  63. package/dist/translations/lt.d.ts +0 -8
  64. package/dist/translations/lt.js +0 -5
  65. package/dist/translations/lv.d.ts +0 -8
  66. package/dist/translations/lv.js +0 -5
  67. package/dist/translations/ms.d.ts +0 -8
  68. package/dist/translations/ms.js +0 -5
  69. package/dist/translations/nl.d.ts +0 -8
  70. package/dist/translations/nl.js +0 -5
  71. package/dist/translations/no.d.ts +0 -8
  72. package/dist/translations/no.js +0 -5
  73. package/dist/translations/pl.d.ts +0 -8
  74. package/dist/translations/pl.js +0 -5
  75. package/dist/translations/pt-br.d.ts +0 -8
  76. package/dist/translations/pt-br.js +0 -5
  77. package/dist/translations/pt.d.ts +0 -8
  78. package/dist/translations/pt.js +0 -5
  79. package/dist/translations/ro.d.ts +0 -8
  80. package/dist/translations/ro.js +0 -5
  81. package/dist/translations/ru.d.ts +0 -8
  82. package/dist/translations/ru.js +0 -5
  83. package/dist/translations/sk.d.ts +0 -8
  84. package/dist/translations/sk.js +0 -5
  85. package/dist/translations/sq.d.ts +0 -8
  86. package/dist/translations/sq.js +0 -5
  87. package/dist/translations/sr-latn.d.ts +0 -8
  88. package/dist/translations/sr-latn.js +0 -5
  89. package/dist/translations/sr.d.ts +0 -8
  90. package/dist/translations/sr.js +0 -5
  91. package/dist/translations/sv.d.ts +0 -8
  92. package/dist/translations/sv.js +0 -5
  93. package/dist/translations/th.d.ts +0 -8
  94. package/dist/translations/th.js +0 -5
  95. package/dist/translations/tk.d.ts +0 -8
  96. package/dist/translations/tk.js +0 -5
  97. package/dist/translations/tr.d.ts +0 -8
  98. package/dist/translations/tr.js +0 -5
  99. package/dist/translations/uk.d.ts +0 -8
  100. package/dist/translations/uk.js +0 -5
  101. package/dist/translations/ur.d.ts +0 -8
  102. package/dist/translations/ur.js +0 -5
  103. package/dist/translations/uz.d.ts +0 -8
  104. package/dist/translations/uz.js +0 -5
  105. package/dist/translations/vi.d.ts +0 -8
  106. package/dist/translations/vi.js +0 -5
  107. package/dist/translations/zh-cn.d.ts +0 -8
  108. package/dist/translations/zh-cn.js +0 -5
  109. package/dist/translations/zh.d.ts +0 -8
  110. package/dist/translations/zh.js +0 -5
  111. package/dist/types/augmentation.d.ts +0 -17
  112. package/dist/types/highlightstack.d.ts +0 -78
  113. package/dist/types/index.d.ts +0 -17
  114. package/dist/types/utils.d.ts +0 -202
  115. package/dist/types/verticalnavigation.d.ts +0 -19
  116. package/dist/types/widget.d.ts +0 -99
  117. package/dist/types/widgetresize/resizer.d.ts +0 -181
  118. package/dist/types/widgetresize/resizerstate.d.ts +0 -129
  119. package/dist/types/widgetresize/sizeview.d.ts +0 -59
  120. package/dist/types/widgetresize.d.ts +0 -129
  121. package/dist/types/widgettoolbarrepository.d.ts +0 -98
  122. package/dist/types/widgettypearound/utils.d.ts +0 -42
  123. package/dist/types/widgettypearound/widgettypearound.d.ts +0 -233
@@ -1,5 +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
- export default {"pl":{"dictionary":{"Widget toolbar":"Pasek widgetów","Insert paragraph before block":"Wstaw akapit przed blokiem","Insert paragraph after block":"Wstaw akapit po bloku","Press Enter to type after or press Shift + Enter to type before the widget":"Naciśnij Enter, aby pisać po widżecie, lub Shift + Enter, aby pisać przed widżetem","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klawisze, których można używać po wybraniu widżetu (na przykład: obraz, tabela itd.)","Insert a new paragraph directly after a widget":"Wstawia nowy akapit bezpośrednio po widżecie","Insert a new paragraph directly before a widget":"Wstawia nowy akapit bezpośrednio przed widżetem","Move the caret to allow typing directly before a widget":"Przenosi kursor, aby umożliwić pisanie bezpośrednio przed widżetem","Move the caret to allow typing directly after a widget":"Przenosi kursor, aby umożliwić pisanie bezpośrednio za widżetem"},getPluralForm(n){return (n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);}}}
@@ -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,5 +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
- export default {"pt-br":{"dictionary":{"Widget toolbar":"Ferramentas de Widgets","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert paragraph after block":"Inserir parágrafo após o bloco","Press Enter to type after or press Shift + Enter to type before the widget":"Pressione Enter para digitar depois ou pressione Shift + Enter para digitar antes do widget","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Teclas que podem ser usadas quando um widget está selecionado (por exemplo: imagem, tabela, etc.)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Move the caret to allow typing directly before a widget":"Mova o cursor para permitir a digitação diretamente antes de um widget","Move the caret to allow typing directly after a widget":"Mova o cursor para permitir a digitação diretamente após um widget"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -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,5 +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
- export default {"pt":{"dictionary":{"Widget toolbar":"Barra de ferramentas do widget","Insert paragraph before block":"Inserir parágrafo antes do bloco","Insert paragraph after block":"Inserir parágrafo após o bloco","Press Enter to type after or press Shift + Enter to type before the widget":"Prima Enter para escrever depois ou Shift + Enter para escrever antes do widget","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Batimentos de teclas que podem ser utilizados quando um widget é selecionado (por exemplo: imagem, tabela, etc.)","Insert a new paragraph directly after a widget":"Inserir um novo parágrafo diretamente após um widget","Insert a new paragraph directly before a widget":"Inserir um novo parágrafo diretamente antes de um widget","Move the caret to allow typing directly before a widget":"Mover o ponto de inserção para permitir escrever diretamente antes de um widget","Move the caret to allow typing directly after a widget":"Mover o ponto de inserção para permitir escrever diretamente após um widget"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -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,5 +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
- export default {"ro":{"dictionary":{"Widget toolbar":"Bară widget","Insert paragraph before block":"Inserează un paragraf înaintea blocului","Insert paragraph after block":"Inserează un paragraf după bloc","Press Enter to type after or press Shift + Enter to type before the widget":"Apăsați Enter pentru a scrie după widget sau Shift+Enter pentru a scrie înaintea acestuia","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Comenzi din tastatură care pot fi utilizate atunci când este selectat un widget (de exemplu: imagine, tabel etc.)","Insert a new paragraph directly after a widget":"Inserează un nou paragraf direct după un widget","Insert a new paragraph directly before a widget":"Inserează un nou paragraf direct înaintea unui widget","Move the caret to allow typing directly before a widget":"Mută cursorul pentru a permite tastarea direct înaintea unui widget","Move the caret to allow typing directly after a widget":"Mută cursorul pentru a permite tastarea direct după un widget"},getPluralForm(n){return (n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));}}}
@@ -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,5 +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
- export default {"ru":{"dictionary":{"Widget toolbar":"Панель инструментов виджета","Insert paragraph before block":"Вставить параграф перед блоком","Insert paragraph after block":"Вставить параграф после блока","Press Enter to type after or press Shift + Enter to type before the widget":"Нажмите Enter для ввода текста после виджета или нажмите Shift + Enter для ввода текста перед виджетом","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Нажатия клавиш, которые можно использовать при выборе виджета (например: изображение, таблица и т. д.)","Insert a new paragraph directly after a widget":"Вставить новый абзац непосредственно после виджета.","Insert a new paragraph directly before a widget":"Вставить новый абзац непосредственно перед виджетом.","Move the caret to allow typing directly before a widget":"Переместите курсор, чтобы можно было вводить текст непосредственно перед виджетом.","Move the caret to allow typing directly after a widget":"Переместить курсор, чтобы можно было вводить текст сразу после виджета."},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);}}}
@@ -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,5 +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
- export default {"sk":{"dictionary":{"Widget toolbar":"Panel nástrojov ovládacieho prvku","Insert paragraph before block":"Vložiť odstavec pred blok","Insert paragraph after block":"Vložiť odstavec za blok","Press Enter to type after or press Shift + Enter to type before the widget":"Stlačte Enter, ak chcete písať po miniaplikácii, alebo stlačte Shift + Enter, ak chcete písať pred miniaplikáciou","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Klávesy, ktoré sa dajú použiť, keď je vybratý widget (napríklad obrázok alebo tabuľka)","Insert a new paragraph directly after a widget":"Vložiť nový odsek priamo za widgetom","Insert a new paragraph directly before a widget":"Vložiť nový odsek priamo pred widgetom","Move the caret to allow typing directly before a widget":"Presunúť striešku priamo pred widget, aby ste tam mohli písať","Move the caret to allow typing directly after a widget":"Presunúť striešku priamo za widget, aby ste tam mohli písať"},getPluralForm(n){return (n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);}}}
@@ -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,5 +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
- export default {"sq":{"dictionary":{"Widget toolbar":"Kokështrirja e shtesës","Insert paragraph before block":"","Insert paragraph after block":"","Press Enter to type after or press Shift + Enter to type before the widget":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Move the caret to allow typing directly before a widget":"","Move the caret to allow typing directly after a widget":""},getPluralForm(n){return (n != 1);}}}
@@ -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,5 +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
- export default {"sr-latn":{"dictionary":{"Widget toolbar":"Видгет трака са алаткама","Insert paragraph before block":"Уметните одломак пре блока","Insert paragraph after block":"Уметните одломак после блока","Press Enter to type after or press Shift + Enter to type before the widget":"Pritisnite Enter da kucate posle ili pritisnite Shift + Enter da kucate pre vidžeta","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Move the caret to allow typing directly before a widget":"","Move the caret to allow typing directly after a widget":""},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -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,5 +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
- export default {"sr":{"dictionary":{"Widget toolbar":"Widget traka sa alatkama","Insert paragraph before block":"Umetnite odlomak pre bloka","Insert paragraph after block":"Umetnite odlomak posle bloka","Press Enter to type after or press Shift + Enter to type before the widget":"Притисните Ентер да куцате после или притисните Схифт + Ентер да куцате пре виџета","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tasteri koji se mogu koristiti kada je vidžet izabran (na primer: slika, tabela, itd.)","Insert a new paragraph directly after a widget":"Umetni novi pasus direktno posle vidžeta","Insert a new paragraph directly before a widget":"Umetni novi pasus direktno pre vidžeta","Move the caret to allow typing directly before a widget":"Pomeri kursor kako bi se omogućilo kucanje direktno pre vidžeta","Move the caret to allow typing directly after a widget":"Pomeri kursor kako bi se omogućilo kucanje direktno posle vidžeta"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -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,5 +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
- export default {"sv":{"dictionary":{"Widget toolbar":"Widgetverktygsfält","Insert paragraph before block":"Infoga stycke före block","Insert paragraph after block":"Infoga stycke efter block","Press Enter to type after or press Shift + Enter to type before the widget":"Tryck på retur för att skriva efter eller på skift + retur för att skriva före widgeten.","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tangenter som kan användas när en widget är vald (till exempel: bild, tabell m.m.)","Insert a new paragraph directly after a widget":"Påbörja nytt stycke direkt efter en widget","Insert a new paragraph directly before a widget":"Påbörja nytt stycke direkt före en widget","Move the caret to allow typing directly before a widget":"Flytta textmarkören för att kunna skriva direkt före en widget","Move the caret to allow typing directly after a widget":"Flytta textmarkören för att kunna skriva direkt efter en widget"},getPluralForm(n){return (n != 1);}}}
@@ -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,5 +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
- export default {"th":{"dictionary":{"Widget toolbar":"แถมเครื่องมือวิดเจ็ต","Insert paragraph before block":"แทรกย่อหน้าก่อนบล็อก","Insert paragraph after block":"แทรกย่อหน้าหลังบล็อก","Press Enter to type after or press Shift + Enter to type before the widget":"กด Enter เพื่อพิมพ์หลังจาก หรือกด Shift + Enter เพื่อพิมพ์ก่อนหน้าวิดเจ็ต","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"แป้นพิมพ์ลัดที่สามารถใช้ได้เมื่อเลือกวิดเจ็ต (ยกตัวอย่าง: รูปภาพ, ตาราง, ฯลฯ)","Insert a new paragraph directly after a widget":"แทรกย่อหน้าใหม่หลังวิดเจ็ตโดยตรง","Insert a new paragraph directly before a widget":"แทรกย่อหน้าใหม่หน้าวิดเจ็ตโดยตรง","Move the caret to allow typing directly before a widget":"ย้ายสัญลักษณ์คาเร็ตเพื่อให้สามารถพิมพ์ได้ไปอยู่หน้าวิดเจ็ตโดยตรง","Move the caret to allow typing directly after a widget":"ย้ายสัญลักษณ์คาเร็ตเพื่อให้สามารถพิมพ์ได้ไปอยู่หลังวิดเจ็ตโดยตรง"},getPluralForm(n){return 0;}}}
@@ -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,5 +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
- export default {"tk":{"dictionary":{"Widget toolbar":"Widget gurallar paneli","Insert paragraph before block":"Blokdan öň abzas goýuň","Insert paragraph after block":"Blokdan soň abzas goýuň","Press Enter to type after or press Shift + Enter to type before the widget":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Move the caret to allow typing directly before a widget":"","Move the caret to allow typing directly after a widget":""},getPluralForm(n){return (n != 1);}}}
@@ -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,5 +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
- export default {"tr":{"dictionary":{"Widget toolbar":"Bileşen araç çubuğu","Insert paragraph before block":"Bloktan önce paragraf ekle","Insert paragraph after block":"Bloktan sonra paragraf ekle","Press Enter to type after or press Shift + Enter to type before the widget":"Görsel bileşenden sonra yazmak için Enter'a basın ya da görsel bileşenden önce yazmak için Shift + Enter'a basın","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Bir araç takımı seçildiğinde kullanılabilecek tuş vuruşları (örnek: resim, tablo vb.)","Insert a new paragraph directly after a widget":"Araç takımının hemen sonrasına yeni bir paragraf ekle","Insert a new paragraph directly before a widget":"Araç takımının hemen öncesine yeni bir paragraf ekle","Move the caret to allow typing directly before a widget":"Bir araç takımından hemen önce yazmaya izin vermek için ekleme noktasını taşı","Move the caret to allow typing directly after a widget":"Bir araç takımından hemen sonra yazmaya izin vermek için ekleme noktasını taşı"},getPluralForm(n){return (n > 1);}}}
@@ -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,5 +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
- export default {"uk":{"dictionary":{"Widget toolbar":"Панель інструментів віджетів","Insert paragraph before block":"Додати абзац перед блоком","Insert paragraph after block":"Додати абзац після блока","Press Enter to type after or press Shift + Enter to type before the widget":"Натисніть Enter, щоб друкувати після або натисніть Shift + Enter, щоб друкувати перед віджетом","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Натискання клавіш, які можна використовувати, коли вибрано віджет (наприклад: зображення, таблиця тощо)","Insert a new paragraph directly after a widget":"Вставити новий абзац безпосередньо після віджета","Insert a new paragraph directly before a widget":"Вставити новий абзац безпосередньо перед віджетом","Move the caret to allow typing directly before a widget":"Перемістіть курсор, щоб дозволити введення безпосередньо перед віджетом","Move the caret to allow typing directly after a widget":"Перемістіть курсор, щоб дозволити введення безпосередньо після віджета"},getPluralForm(n){return (n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);}}}
@@ -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,5 +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
- export default {"ur":{"dictionary":{"Widget toolbar":"آلہ جات برائے وجٹ","Insert paragraph before block":"پیراگراف سے پہلے کوڈ خانہ نصب کریں","Insert paragraph after block":"پیراگراف کے بعد کوڈ خانہ نصب کریں","Press Enter to type after or press Shift + Enter to type before the widget":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Move the caret to allow typing directly before a widget":"","Move the caret to allow typing directly after a widget":""},getPluralForm(n){return (n != 1);}}}
@@ -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,5 +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
- export default {"uz":{"dictionary":{"Widget toolbar":"Vidjet asboblar paneli","Insert paragraph before block":"Blokdan oldin paragrafni kiritish","Insert paragraph after block":"Вblokdan keyin paragraf qo'yish","Press Enter to type after or press Shift + Enter to type before the widget":"","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"","Insert a new paragraph directly after a widget":"","Insert a new paragraph directly before a widget":"","Move the caret to allow typing directly before a widget":"","Move the caret to allow typing directly after a widget":""},getPluralForm(n){return 0;}}}
@@ -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,5 +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
- export default {"vi":{"dictionary":{"Widget toolbar":"Thanh công cụ tiện ích","Insert paragraph before block":"Chèn đoạn trước khối","Insert paragraph after block":"Chèn đoạn sau khối","Press Enter to type after or press Shift + Enter to type before the widget":"Nhấn Enter để nhập vào sau hoặc nhấn Shift + Enter để nhập vào trước tiện ích","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Tổ hợp phím mà bạn có thể dùng khi một tiện ích được chọn (ví dụ: hình ảnh, bảng, v.v.)","Insert a new paragraph directly after a widget":"Chèn đoạn văn mới ngay sau tiện ích","Insert a new paragraph directly before a widget":"Chèn đoạn văn mới ngay trước tiện ích","Move the caret to allow typing directly before a widget":"Di chuyển dấu sót để cho phép nhập ngay trước một tiện ích","Move the caret to allow typing directly after a widget":"Di chuyển dấu sót để cho phép nhập ngay sau một tiện ích"},getPluralForm(n){return 0;}}}
@@ -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,5 +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
- export default {"zh-cn":{"dictionary":{"Widget toolbar":"小部件工具栏","Insert paragraph before block":"在前面插入段落","Insert paragraph after block":"在后面插入段落","Press Enter to type after or press Shift + Enter to type before the widget":"按下“Enter”键,在小组件后输入;按下“Shift+Enter”键,在小组件前输入","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"当小组件被选中时(例如:图片、表格等)可以使用的按键","Insert a new paragraph directly after a widget":"直接在小组件之后插入新段落","Insert a new paragraph directly before a widget":"直接在小组件之前插入新段落","Move the caret to allow typing directly before a widget":"移动插入符,以允许在小组件之前直接输入文字","Move the caret to allow typing directly after a widget":"移动插入符,以允许在小组件之后直接输入文字"},getPluralForm(n){return 0;}}}
@@ -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,5 +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
- export default {"zh":{"dictionary":{"Widget toolbar":"小工具","Insert paragraph before block":"在這個區塊前面插入一個段落","Insert paragraph after block":"在這個區塊後面插入一個段落","Press Enter to type after or press Shift + Enter to type before the widget":"按下 Enter 在小工具後輸入,或按下 Shift + Enter 在小工具前輸入","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"小工具選取時可使用的按鍵(例如:圖片、表格等)","Insert a new paragraph directly after a widget":"在小工具後直接插入新段落","Insert a new paragraph directly before a widget":"在小工具前直接插入新段落","Move the caret to allow typing directly before a widget":"移動插入符號,以便在小工具前直接輸入","Move the caret to allow typing directly after a widget":"移動插入符號,以便在小工具後直接輸入"},getPluralForm(n){return 0;}}}
@@ -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
- import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [Widget.pluginName]: Widget;
13
- [WidgetResize.pluginName]: WidgetResize;
14
- [WidgetToolbarRepository.pluginName]: WidgetToolbarRepository;
15
- [WidgetTypeAround.pluginName]: WidgetTypeAround;
16
- }
17
- }
@@ -1,78 +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 { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
10
- declare const HighlightStack_base: {
11
- new (): import("@ckeditor/ckeditor5-utils").Emitter;
12
- prototype: import("@ckeditor/ckeditor5-utils").Emitter;
13
- };
14
- /**
15
- * Class used to handle the correct order of highlights on elements.
16
- *
17
- * When different highlights are applied to same element the correct order should be preserved:
18
- *
19
- * * highlight with highest priority should be applied,
20
- * * if two highlights have same priority - sort by CSS class provided in
21
- * {@link module:engine/conversion/downcasthelpers~HighlightDescriptor}.
22
- *
23
- * This way, highlight will be applied with the same rules it is applied on texts.
24
- */
25
- export default class HighlightStack extends HighlightStack_base {
26
- private readonly _stack;
27
- /**
28
- * Adds highlight descriptor to the stack.
29
- *
30
- * @fires change:top
31
- */
32
- add(descriptor: HighlightDescriptor, writer: DowncastWriter): void;
33
- /**
34
- * Removes highlight descriptor from the stack.
35
- *
36
- * @fires change:top
37
- * @param id Id of the descriptor to remove.
38
- */
39
- remove(id: string, writer: DowncastWriter): void;
40
- /**
41
- * Inserts a given descriptor in correct place in the stack. It also takes care about updating information
42
- * when descriptor with same id is already present.
43
- */
44
- private _insertDescriptor;
45
- /**
46
- * Removes descriptor with given id from the stack.
47
- *
48
- * @param id Descriptor's id.
49
- */
50
- private _removeDescriptor;
51
- }
52
- /**
53
- * Fired when top element on {@link module:widget/highlightstack~HighlightStack} has been changed
54
- *
55
- * @eventName ~HighlightStack#change:top
56
- */
57
- export type HighlightStackChangeEvent = {
58
- name: 'change' | 'change:top';
59
- args: [HighlightStackChangeEventData];
60
- };
61
- /**
62
- * Additional information about the change.
63
- */
64
- export type HighlightStackChangeEventData = {
65
- /**
66
- * Old highlight descriptor. It will be `undefined` when first descriptor is added to the stack.
67
- */
68
- oldDescriptor: HighlightDescriptor;
69
- /**
70
- * New highlight descriptor. It will be `undefined` when last descriptor is removed from the stack.
71
- */
72
- newDescriptor: HighlightDescriptor;
73
- /**
74
- * View writer that can be used to modify element.
75
- */
76
- writer: DowncastWriter;
77
- };
78
- export {};
@@ -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 widget
11
- */
12
- export { default as Widget } from './widget.js';
13
- export { default as WidgetToolbarRepository } from './widgettoolbarrepository.js';
14
- export { default as WidgetResize } from './widgetresize.js';
15
- export { default as WidgetTypeAround } from './widgettypearound/widgettypearound.js';
16
- export * from './utils.js';
17
- import './augmentation.js';