@ckeditor/ckeditor5-media-embed 41.3.0 → 41.4.0-alpha.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.
- package/build/media-embed.js +1 -1
- package/dist/index-content.css +10 -0
- package/dist/index-editor.css +50 -0
- package/dist/index.css +148 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +1038 -0
- package/dist/index.js.map +1 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +5 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +5 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +5 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +5 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +5 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +5 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +5 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +5 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +5 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +5 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +5 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +5 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/types/augmentation.d.ts +29 -0
- package/dist/types/automediaembed.d.ts +55 -0
- package/dist/types/converters.d.ts +42 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/mediaembed.d.ts +38 -0
- package/dist/types/mediaembedcommand.d.ts +40 -0
- package/dist/types/mediaembedconfig.d.ts +282 -0
- package/dist/types/mediaembedediting.d.ts +35 -0
- package/dist/types/mediaembedtoolbar.d.ts +34 -0
- package/dist/types/mediaembedui.d.ts +31 -0
- package/dist/types/mediaregistry.d.ts +70 -0
- package/dist/types/ui/mediaformview.d.ts +119 -0
- package/dist/types/utils.d.ts +71 -0
- package/package.json +4 -3
- package/src/mediaembedui.js +4 -0
- package/src/ui/mediaformview.js +0 -1
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"Miniaplicação de media","Media URL":"URL de media","Paste the media URL in the input.":"Cole o URL de média no input.","Tip: Paste the URL into the content to embed faster.":"Dica: Cole o URL no conteúdo para incorporar mais rapidamente.","The URL must not be empty.":"O URL não pode ficar vazio.","This media URL is not supported.":"Este URL de media não é suportado.","Insert media":"Inserir media","Media toolbar":"Barra de ferramentas de media","Open media in new tab":"Abrir ficheiro multimédia em novo separador"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"widget media","Media URL":"Media URL","Paste the media URL in the input.":"Adaugă URL-ul media in input.","Tip: Paste the URL into the content to embed faster.":"Sugestie: adaugă URL-ul în conținut pentru a fi adăugat mai rapid.","The URL must not be empty.":"URL-ul nu trebuie să fie gol.","This media URL is not supported.":"Acest URL media nu este suportat.","Insert media":"Inserează media","Media toolbar":"Bară media","Open media in new tab":"Deschideți conținutul media într-o filă nouă"},getPluralForm(n){return (n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"медиа-виджет","Media URL":"URL медиа","Paste the media URL in the input.":"Вставьте URL медиа в поле ввода.","Tip: Paste the URL into the content to embed faster.":"Подсказка: Вставьте URL в контент для быстрого включения.","The URL must not be empty.":"URL не должен быть пустым.","This media URL is not supported.":"Этот URL медиа не поддерживается.","Insert media":"Вставить медиа","Media toolbar":"Панель инструментов медиа","Open media in new tab":"Откройте медиа в новой вкладке"},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);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"Nástroj pre médiá","Media URL":"URL média","Paste the media URL in the input.":"Vložte URL média.","Tip: Paste the URL into the content to embed faster.":"Tip: URL adresu média vložte do obsahu.","The URL must not be empty.":"Musíte zadať URL.","This media URL is not supported.":"URL média nie je podporovaná.","Insert media":"Vložiť média","Media toolbar":"Nástroje pre médiá","Open media in new tab":"Otvoriť médiá na novej karte"},getPluralForm(n){return (n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"Vegla e medies","Media URL":"URL e Medies","Paste the media URL in the input.":"","Tip: Paste the URL into the content to embed faster.":"","The URL must not be empty.":"URL nuk duhet të jetë e zbrazët.","This media URL is not supported.":"URL e medies nuk mbështetet.","Insert media":"Shto Medie","Media toolbar":"Kokështrirja e mediave","Open media in new tab":""},getPluralForm(n){return (n != 1);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"Media widget","Media URL":"Media URL","Paste the media URL in the input.":" Nalepi medijski URL u polje za unos.","Tip: Paste the URL into the content to embed faster.":"Savet: Zalepite URL u sadržaj da bi ste ga brže ugradili.","The URL must not be empty.":"URL ne sme biti prazan.","This media URL is not supported.":"Ovaj media URL tip nije podržan.","Insert media":"Dodaj media","Media toolbar":"Mediji traka sa alatkama","Open media in new tab":"Otvorite medije u novoj kartici"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"Медиа wидгет","Media URL":"Mедиа УРЛ","Paste the media URL in the input.":"Налепи медијски УРЛ у поље за унос","Tip: Paste the URL into the content to embed faster.":"Савет: Залепите УРЛ у садржај да би сте га брже уградили.","The URL must not be empty.":"УРЛ не сме бити празан.","This media URL is not supported.":"Овај медиа УРЛ тип није подржан.","Insert media":"Додај медиа","Media toolbar":"Медији трака са алаткама","Open media in new tab":"Отворите медије у новој картици"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"mediewidget","Media URL":"Medie-URL","Paste the media URL in the input.":"Klistra in medie-URL:en i indata.","Tip: Paste the URL into the content to embed faster.":"Tips: Klistra in URL:en i innehållet för snabbare inbäddning.","The URL must not be empty.":"URL:en får inte vara tom.","This media URL is not supported.":"Medie-URL:en stöds inte.","Insert media":"Lägg in media","Media toolbar":"Medieverktygsfält","Open media in new tab":"Öppna media i ny flik"},getPluralForm(n){return (n != 1);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"วิดเจ็ตสื่อ","Media URL":"URL สื่อ","Paste the media URL in the input.":"วาง URL สื่อในอินพุต","Tip: Paste the URL into the content to embed faster.":"เคล็ดลับ: การวาง URL ลงในเนื้อหาจะช่วยให้ฝังได้เร็วขึ้น","The URL must not be empty.":"URL ต้องไม่ว่างเปล่า","This media URL is not supported.":"ไม่รองรับ URL ของสื่อนี้","Insert media":"แทรกสื่อ","Media toolbar":"แถบเครื่องมือสื่อ","Open media in new tab":"เปิดสื่อในแท็บใหม่"},getPluralForm(n){return 0;}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"media widjeti","Media URL":"Media URL","Paste the media URL in the input.":"Media URL-ni girişde goýuň.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Has çalt ýerleşdirmek üçin URL-i mazmuna goýuň.","The URL must not be empty.":"URL boş bolmaly däldir.","This media URL is not supported.":"Bu media URL goldanok.","Insert media":"Mediýa goýuň","Media toolbar":"Mediýa gurallar paneli","Open media in new tab":""},getPluralForm(n){return (n != 1);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"medya aracı","Media URL":"Medya URL'si","Paste the media URL in the input.":"Medya URL'siini metin kutusuna yapıştırınız.","Tip: Paste the URL into the content to embed faster.":"İpucu: İçeriği daha hızlı yerleştirmek için URL'yi yapıştırın.","The URL must not be empty.":"URL boş olamaz.","This media URL is not supported.":"Desteklenmeyen Medya URL'si.","Insert media":"Medya Ekle","Media toolbar":"Medya araç çubuğu","Open media in new tab":"Medyayı yeni sekmede aç"},getPluralForm(n){return (n > 1);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"медіа віджет","Media URL":"Медіа URL","Paste the media URL in the input.":"Вставте URL на медіа в інпут.","Tip: Paste the URL into the content to embed faster.":"Вставте URL у вміст для швидкого перекладу.","The URL must not be empty.":"URL не повинен бути порожнім.","This media URL is not supported.":"Даний медіа URL не підтримується.","Insert media":"Вставити медіа","Media toolbar":"Панель інструментів медіа","Open media in new tab":"Відкрити медіа у новій вкладці"},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);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"آلۂ میڈیا","Media URL":"میڈیا یو آر ایل","Paste the media URL in the input.":"میڈیا یو آر ایل کو چسپاں کریں","Tip: Paste the URL into the content to embed faster.":"نکتہ : یو آر ایل کو جلد ضم کرنے کے لیے ربط مواد میں چسپاں کریں","The URL must not be empty.":"یو آر ایل خالی نہیں ہونا چاہیے۔","This media URL is not supported.":"میڈیا یو آر ایل معاونت یافتہ نہیں","Insert media":"میڈیا نصب کریں","Media toolbar":"آلہ جات برائے میڈیا","Open media in new tab":""},getPluralForm(n){return (n != 1);}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"media vidjeti","Media URL":"Media URL manzili","Paste the media URL in the input.":"Media URL manzilini kiritish maydoniga joylashtiring.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Tez kiritish uchun URL manzilini kontentga joylashtiring.","The URL must not be empty.":"URL bo'sh bo'lmasligi kerak.","This media URL is not supported.":"Ushbu media URL manzili qo‘llab-quvvatlanmaydi.","Insert media":"Mediani joylashtiring","Media toolbar":"Media asboblar paneli","Open media in new tab":""},getPluralForm(n){return 0;}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"tiện ích đa phương tiện","Media URL":"Đường dẫn đa phương tiện","Paste the media URL in the input.":"Dán đường dẫn đa phương tiện vào trường","Tip: Paste the URL into the content to embed faster.":"Mẹo: Dán đường dẫn vào nội dung để nhúng ngay","The URL must not be empty.":"Đường dẫn không được để trống","This media URL is not supported.":"Đường dẫn đa phương tiện không hỗ trợ","Insert media":"Chèn đa phương tiện","Media toolbar":"Thanh công cụ đa phương tiện","Open media in new tab":"Mở nội dung nghe nhìn trong tab mới"},getPluralForm(n){return 0;}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"媒体小部件","Media URL":"媒体URL","Paste the media URL in the input.":"在输入中粘贴媒体URL","Tip: Paste the URL into the content to embed faster.":"提示:将URL粘贴到内容中可更快地嵌入","The URL must not be empty.":"URL不可以为空。","This media URL is not supported.":"不支持此媒体URL。","Insert media":"插入媒体","Media toolbar":"媒体工具栏","Open media in new tab":"在新标签页打开媒体"},getPluralForm(n){return 0;}}}
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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":{"media widget":"影音小工具","Media URL":"影音網址","Paste the media URL in the input.":"在輸入框貼上影音網址。","Tip: Paste the URL into the content to embed faster.":"提示:在內容貼上網址更快崁入。","The URL must not be empty.":"網址不能空白。","This media URL is not supported.":"不支援此影音網址。","Insert media":"插入影音","Media toolbar":"影音工具","Open media in new tab":"在新分頁打開媒體"},getPluralForm(n){return 0;}}}
|
@@ -0,0 +1,29 @@
|
|
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 { MediaEmbedConfig, AutoMediaEmbed, MediaEmbed, MediaEmbedEditing, MediaEmbedToolbar, MediaEmbedUI, MediaEmbedCommand } from './index.js';
|
10
|
+
declare module '@ckeditor/ckeditor5-core' {
|
11
|
+
interface EditorConfig {
|
12
|
+
/**
|
13
|
+
* The configuration of the {@link module:media-embed/mediaembed~MediaEmbed} feature.
|
14
|
+
*
|
15
|
+
* Read more in {@link module:media-embed/mediaembedconfig~MediaEmbedConfig}.
|
16
|
+
*/
|
17
|
+
mediaEmbed?: MediaEmbedConfig;
|
18
|
+
}
|
19
|
+
interface PluginsMap {
|
20
|
+
[AutoMediaEmbed.pluginName]: AutoMediaEmbed;
|
21
|
+
[MediaEmbed.pluginName]: MediaEmbed;
|
22
|
+
[MediaEmbedEditing.pluginName]: MediaEmbedEditing;
|
23
|
+
[MediaEmbedToolbar.pluginName]: MediaEmbedToolbar;
|
24
|
+
[MediaEmbedUI.pluginName]: MediaEmbedUI;
|
25
|
+
}
|
26
|
+
interface CommandsMap {
|
27
|
+
mediaEmbed: MediaEmbedCommand;
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,55 @@
|
|
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 media-embed/automediaembed
|
11
|
+
*/
|
12
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
13
|
+
import { Clipboard } from 'ckeditor5/src/clipboard.js';
|
14
|
+
import { Delete } from 'ckeditor5/src/typing.js';
|
15
|
+
import { Undo } from 'ckeditor5/src/undo.js';
|
16
|
+
/**
|
17
|
+
* The auto-media embed plugin. It recognizes media links in the pasted content and embeds
|
18
|
+
* them shortly after they are injected into the document.
|
19
|
+
*/
|
20
|
+
export default class AutoMediaEmbed extends Plugin {
|
21
|
+
/**
|
22
|
+
* @inheritDoc
|
23
|
+
*/
|
24
|
+
static get requires(): readonly [typeof Clipboard, typeof Delete, typeof Undo];
|
25
|
+
/**
|
26
|
+
* @inheritDoc
|
27
|
+
*/
|
28
|
+
static get pluginName(): "AutoMediaEmbed";
|
29
|
+
/**
|
30
|
+
* The paste–to–embed `setTimeout` ID. Stored as a property to allow
|
31
|
+
* cleaning of the timeout.
|
32
|
+
*/
|
33
|
+
private _timeoutId;
|
34
|
+
/**
|
35
|
+
* The position where the `<media>` element will be inserted after the timeout,
|
36
|
+
* determined each time the new content is pasted into the document.
|
37
|
+
*/
|
38
|
+
private _positionToInsert;
|
39
|
+
/**
|
40
|
+
* @inheritDoc
|
41
|
+
*/
|
42
|
+
constructor(editor: Editor);
|
43
|
+
/**
|
44
|
+
* @inheritDoc
|
45
|
+
*/
|
46
|
+
init(): void;
|
47
|
+
/**
|
48
|
+
* Analyzes the part of the document between provided positions in search for a URL representing media.
|
49
|
+
* When the URL is found, it is automatically converted into media.
|
50
|
+
*
|
51
|
+
* @param leftPosition Left position of the selection.
|
52
|
+
* @param rightPosition Right position of the selection.
|
53
|
+
*/
|
54
|
+
private _embedMediaBetweenPositions;
|
55
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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 { DowncastDispatcher } from 'ckeditor5/src/engine.js';
|
10
|
+
import type MediaRegistry from './mediaregistry.js';
|
11
|
+
import type { MediaOptions } from './utils.js';
|
12
|
+
/**
|
13
|
+
* Returns a function that converts the model "url" attribute to the view representation.
|
14
|
+
*
|
15
|
+
* Depending on the configuration, the view representation can be "semantic" (for the data pipeline):
|
16
|
+
*
|
17
|
+
* ```html
|
18
|
+
* <figure class="media">
|
19
|
+
* <oembed url="foo"></oembed>
|
20
|
+
* </figure>
|
21
|
+
* ```
|
22
|
+
*
|
23
|
+
* or "non-semantic" (for the editing view pipeline):
|
24
|
+
*
|
25
|
+
* ```html
|
26
|
+
* <figure class="media">
|
27
|
+
* <div data-oembed-url="foo">[ non-semantic media preview for "foo" ]</div>
|
28
|
+
* </figure>
|
29
|
+
* ```
|
30
|
+
*
|
31
|
+
* **Note:** Changing the model "url" attribute replaces the entire content of the
|
32
|
+
* `<figure>` in the view.
|
33
|
+
*
|
34
|
+
* @param registry The registry providing
|
35
|
+
* the media and their content.
|
36
|
+
* @param options options object with following properties:
|
37
|
+
* - elementName When set, overrides the default element name for semantic media embeds.
|
38
|
+
* - renderMediaPreview When `true`, the converter will create the view in the non-semantic form.
|
39
|
+
* - renderForEditingView When `true`, the converter will create a view specific for the
|
40
|
+
* editing pipeline (e.g. including CSS classes, content placeholders).
|
41
|
+
*/
|
42
|
+
export declare function modelToViewUrlAttributeConverter(registry: MediaRegistry, options: MediaOptions): (dispatcher: DowncastDispatcher) => void;
|
@@ -0,0 +1,19 @@
|
|
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 media-embed
|
11
|
+
*/
|
12
|
+
export { default as MediaEmbed } from './mediaembed.js';
|
13
|
+
export { default as MediaEmbedEditing } from './mediaembedediting.js';
|
14
|
+
export { default as MediaEmbedUI } from './mediaembedui.js';
|
15
|
+
export { default as AutoMediaEmbed } from './automediaembed.js';
|
16
|
+
export { default as MediaEmbedToolbar } from './mediaembedtoolbar.js';
|
17
|
+
export type { MediaEmbedConfig } from './mediaembedconfig.js';
|
18
|
+
export type { default as MediaEmbedCommand } from './mediaembedcommand.js';
|
19
|
+
import './augmentation.js';
|
@@ -0,0 +1,38 @@
|
|
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 media-embed/mediaembed
|
11
|
+
*/
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
13
|
+
import { Widget } from 'ckeditor5/src/widget.js';
|
14
|
+
import MediaEmbedEditing from './mediaembedediting.js';
|
15
|
+
import AutoMediaEmbed from './automediaembed.js';
|
16
|
+
import MediaEmbedUI from './mediaembedui.js';
|
17
|
+
import '../theme/mediaembed.css';
|
18
|
+
/**
|
19
|
+
* The media embed plugin.
|
20
|
+
*
|
21
|
+
* For a detailed overview, check the {@glink features/media-embed Media Embed feature documentation}.
|
22
|
+
*
|
23
|
+
* This is a "glue" plugin which loads the following plugins:
|
24
|
+
*
|
25
|
+
* * The {@link module:media-embed/mediaembedediting~MediaEmbedEditing media embed editing feature},
|
26
|
+
* * The {@link module:media-embed/mediaembedui~MediaEmbedUI media embed UI feature} and
|
27
|
+
* * The {@link module:media-embed/automediaembed~AutoMediaEmbed auto-media embed feature}.
|
28
|
+
*/
|
29
|
+
export default class MediaEmbed extends Plugin {
|
30
|
+
/**
|
31
|
+
* @inheritDoc
|
32
|
+
*/
|
33
|
+
static get requires(): readonly [typeof MediaEmbedEditing, typeof MediaEmbedUI, typeof AutoMediaEmbed, typeof Widget];
|
34
|
+
/**
|
35
|
+
* @inheritDoc
|
36
|
+
*/
|
37
|
+
static get pluginName(): "MediaEmbed";
|
38
|
+
}
|
@@ -0,0 +1,40 @@
|
|
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 { Command } from 'ckeditor5/src/core.js';
|
10
|
+
/**
|
11
|
+
* The insert media command.
|
12
|
+
*
|
13
|
+
* The command is registered by the {@link module:media-embed/mediaembedediting~MediaEmbedEditing} as `'mediaEmbed'`.
|
14
|
+
*
|
15
|
+
* To insert media at the current selection, execute the command and specify the URL:
|
16
|
+
*
|
17
|
+
* ```ts
|
18
|
+
* editor.execute( 'mediaEmbed', 'http://url.to.the/media' );
|
19
|
+
* ```
|
20
|
+
*/
|
21
|
+
export default class MediaEmbedCommand extends Command {
|
22
|
+
/**
|
23
|
+
* Media url.
|
24
|
+
*/
|
25
|
+
value: string | undefined;
|
26
|
+
/**
|
27
|
+
* @inheritDoc
|
28
|
+
*/
|
29
|
+
refresh(): void;
|
30
|
+
/**
|
31
|
+
* Executes the command, which either:
|
32
|
+
*
|
33
|
+
* * updates the URL of the selected media,
|
34
|
+
* * inserts the new media into the editor and puts the selection around it.
|
35
|
+
*
|
36
|
+
* @fires execute
|
37
|
+
* @param url The URL of the media.
|
38
|
+
*/
|
39
|
+
execute(url: string): void;
|
40
|
+
}
|