@ckeditor/ckeditor5-special-characters 44.1.0 → 44.2.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/LICENSE.md +1 -1
- package/build/special-characters.js +1 -1
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +5 -10
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +29 -7
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/specialcharacters.d.ts +1 -1
- package/src/specialcharacters.js +1 -1
- package/src/specialcharactersarrows.d.ts +1 -1
- package/src/specialcharactersarrows.js +1 -1
- package/src/specialcharactersconfig.d.ts +1 -1
- package/src/specialcharactersconfig.js +1 -1
- package/src/specialcharacterscurrency.d.ts +1 -1
- package/src/specialcharacterscurrency.js +1 -1
- package/src/specialcharactersessentials.d.ts +1 -1
- package/src/specialcharactersessentials.js +1 -1
- package/src/specialcharacterslatin.d.ts +1 -1
- package/src/specialcharacterslatin.js +1 -1
- package/src/specialcharactersmathematical.d.ts +1 -1
- package/src/specialcharactersmathematical.js +1 -1
- package/src/specialcharacterstext.d.ts +1 -1
- package/src/specialcharacterstext.js +1 -1
- package/src/ui/charactergridview.d.ts +1 -1
- package/src/ui/charactergridview.js +1 -1
- package/src/ui/characterinfoview.d.ts +1 -1
- package/src/ui/characterinfoview.js +1 -1
- package/src/ui/specialcharacterscategoriesview.d.ts +1 -1
- package/src/ui/specialcharacterscategoriesview.js +1 -1
- package/src/ui/specialcharactersview.d.ts +1 -1
- package/src/ui/specialcharactersview.js +1 -1
- package/theme/charactergrid.css +1 -1
- package/theme/characterinfo.css +1 -1
- package/theme/specialcharacters.css +1 -3
- package/dist/augmentation.d.ts +0 -28
- package/dist/index.d.ts +0 -20
- package/dist/specialcharacters.d.ts +0 -110
- package/dist/specialcharactersarrows.d.ts +0 -38
- package/dist/specialcharactersconfig.d.ts +0 -55
- package/dist/specialcharacterscurrency.d.ts +0 -38
- package/dist/specialcharactersessentials.d.ts +0 -43
- package/dist/specialcharacterslatin.d.ts +0 -38
- package/dist/specialcharactersmathematical.d.ts +0 -38
- package/dist/specialcharacterstext.d.ts +0 -38
- package/dist/ui/charactergridview.d.ts +0 -98
- package/dist/ui/characterinfoview.d.ts +0 -39
- package/dist/ui/specialcharacterscategoriesview.d.ts +0 -45
- package/dist/ui/specialcharactersview.d.ts +0 -69
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/theme/charactergrid.css
CHANGED
package/theme/characterinfo.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
* **in the theme** when compiling the editor.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
|
13
|
-
|
|
14
12
|
.ck.ck-special-characters {
|
|
15
13
|
& > .ck-dialog__content > div {
|
|
16
14
|
width: 350px;
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,28 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { SpecialCharacters, SpecialCharactersArrows, SpecialCharactersCurrency, SpecialCharactersEssentials, SpecialCharactersLatin, SpecialCharactersMathematical, SpecialCharactersText, SpecialCharactersConfig } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface PluginsMap {
|
|
12
|
-
[SpecialCharacters.pluginName]: SpecialCharacters;
|
|
13
|
-
[SpecialCharactersText.pluginName]: SpecialCharactersText;
|
|
14
|
-
[SpecialCharactersArrows.pluginName]: SpecialCharactersArrows;
|
|
15
|
-
[SpecialCharactersEssentials.pluginName]: SpecialCharactersEssentials;
|
|
16
|
-
[SpecialCharactersLatin.pluginName]: SpecialCharactersLatin;
|
|
17
|
-
[SpecialCharactersCurrency.pluginName]: SpecialCharactersCurrency;
|
|
18
|
-
[SpecialCharactersMathematical.pluginName]: SpecialCharactersMathematical;
|
|
19
|
-
}
|
|
20
|
-
interface EditorConfig {
|
|
21
|
-
/**
|
|
22
|
-
* The configuration of the {@link module:special-characters/specialcharacters~SpecialCharacters} feature.
|
|
23
|
-
*
|
|
24
|
-
* Read more in {@link module:special-characters/specialcharactersconfig~SpecialCharactersConfig}.
|
|
25
|
-
*/
|
|
26
|
-
specialCharacters?: SpecialCharactersConfig;
|
|
27
|
-
}
|
|
28
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,20 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters
|
|
11
|
-
*/
|
|
12
|
-
export { default as SpecialCharacters } from './specialcharacters.js';
|
|
13
|
-
export { default as SpecialCharactersArrows } from './specialcharactersarrows.js';
|
|
14
|
-
export { default as SpecialCharactersText } from './specialcharacterstext.js';
|
|
15
|
-
export { default as SpecialCharactersMathematical } from './specialcharactersmathematical.js';
|
|
16
|
-
export { default as SpecialCharactersLatin } from './specialcharacterslatin.js';
|
|
17
|
-
export { default as SpecialCharactersEssentials } from './specialcharactersessentials.js';
|
|
18
|
-
export { default as SpecialCharactersCurrency } from './specialcharacterscurrency.js';
|
|
19
|
-
export type { SpecialCharactersConfig } from './specialcharactersconfig.js';
|
|
20
|
-
import './augmentation.js';
|
|
@@ -1,110 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharacters
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
13
|
-
import { Typing } from 'ckeditor5/src/typing.js';
|
|
14
|
-
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
15
|
-
import '../theme/specialcharacters.css';
|
|
16
|
-
/**
|
|
17
|
-
* The special characters feature.
|
|
18
|
-
*
|
|
19
|
-
* Introduces the `'specialCharacters'` dropdown.
|
|
20
|
-
*/
|
|
21
|
-
export default class SpecialCharacters extends Plugin {
|
|
22
|
-
/**
|
|
23
|
-
* Registered characters. A pair of a character name and its symbol.
|
|
24
|
-
*/
|
|
25
|
-
private _characters;
|
|
26
|
-
/**
|
|
27
|
-
* Registered groups. Each group contains a displayed label and a collection with symbol names.
|
|
28
|
-
*/
|
|
29
|
-
private _groups;
|
|
30
|
-
/**
|
|
31
|
-
* A label describing the "All" special characters category.
|
|
32
|
-
*/
|
|
33
|
-
private _allSpecialCharactersGroupLabel;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
static get requires(): readonly [typeof Typing, typeof Dialog];
|
|
38
|
-
/**
|
|
39
|
-
* @inheritDoc
|
|
40
|
-
*/
|
|
41
|
-
static get pluginName(): "SpecialCharacters";
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
static get isOfficialPlugin(): true;
|
|
46
|
-
/**
|
|
47
|
-
* @inheritDoc
|
|
48
|
-
*/
|
|
49
|
-
constructor(editor: Editor);
|
|
50
|
-
/**
|
|
51
|
-
* @inheritDoc
|
|
52
|
-
*/
|
|
53
|
-
init(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Adds a collection of special characters to the specified group. The title of a special character must be unique.
|
|
56
|
-
*
|
|
57
|
-
* **Note:** The "All" category name is reserved by the plugin and cannot be used as a new name for a special
|
|
58
|
-
* characters category.
|
|
59
|
-
*/
|
|
60
|
-
addItems(groupName: string, items: Array<SpecialCharacterDefinition>, options?: {
|
|
61
|
-
label: string;
|
|
62
|
-
}): void;
|
|
63
|
-
/**
|
|
64
|
-
* Returns special character groups in an order determined based on configuration and registration sequence.
|
|
65
|
-
*/
|
|
66
|
-
getGroups(): Set<string>;
|
|
67
|
-
/**
|
|
68
|
-
* Returns a collection of special characters symbol names (titles).
|
|
69
|
-
*/
|
|
70
|
-
getCharactersForGroup(groupName: string): Set<string> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Returns the symbol of a special character for the specified name. If the special character could not be found, `undefined`
|
|
73
|
-
* is returned.
|
|
74
|
-
*
|
|
75
|
-
* @param title The title of a special character.
|
|
76
|
-
*/
|
|
77
|
-
getCharacter(title: string): string | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Returns a group of special characters. If the group with the specified name does not exist, it will be created.
|
|
80
|
-
*
|
|
81
|
-
* @param groupName The name of the group to create.
|
|
82
|
-
* @param label The label describing the new group.
|
|
83
|
-
*/
|
|
84
|
-
private _getGroup;
|
|
85
|
-
/**
|
|
86
|
-
* Updates the symbol grid depending on the currently selected character group.
|
|
87
|
-
*/
|
|
88
|
-
private _updateGrid;
|
|
89
|
-
/**
|
|
90
|
-
* Initializes the dropdown, used for lazy loading.
|
|
91
|
-
*
|
|
92
|
-
* @returns An object with `categoriesView`, `gridView` and `infoView` properties, containing UI parts.
|
|
93
|
-
*/
|
|
94
|
-
private _createDropdownPanelContent;
|
|
95
|
-
/**
|
|
96
|
-
* Creates a button for toolbar and menu bar that will show special characters dialog.
|
|
97
|
-
*/
|
|
98
|
-
private _createDialogButton;
|
|
99
|
-
private _showDialog;
|
|
100
|
-
}
|
|
101
|
-
export interface SpecialCharacterDefinition {
|
|
102
|
-
/**
|
|
103
|
-
* A unique name of the character (e.g. "greek small letter epsilon").
|
|
104
|
-
*/
|
|
105
|
-
title: string;
|
|
106
|
-
/**
|
|
107
|
-
* A human-readable character displayed as the label (e.g. "ε").
|
|
108
|
-
*/
|
|
109
|
-
character: string;
|
|
110
|
-
}
|
|
@@ -1,38 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharactersarrows
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* A plugin that provides special characters for the "Arrows" category.
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* ClassicEditor
|
|
18
|
-
* .create( {
|
|
19
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersArrows ],
|
|
20
|
-
* } )
|
|
21
|
-
* .then( ... )
|
|
22
|
-
* .catch( ... );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export default class SpecialCharactersArrows extends Plugin {
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "SpecialCharactersArrows";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
init(): void;
|
|
38
|
-
}
|
|
@@ -1,55 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharactersconfig
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The configuration of the special characters feature.
|
|
14
|
-
*
|
|
15
|
-
* Read more about {@glink features/special-characters#configuration configuring the special characters feature}.
|
|
16
|
-
*
|
|
17
|
-
* ```ts
|
|
18
|
-
* ClassicEditor
|
|
19
|
-
* .create( editorElement, {
|
|
20
|
-
* specialCharacters: ... // Special characters feature options.
|
|
21
|
-
* } )
|
|
22
|
-
* .then( ... )
|
|
23
|
-
* .catch( ... );
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}.
|
|
27
|
-
*/
|
|
28
|
-
export interface SpecialCharactersConfig {
|
|
29
|
-
/**
|
|
30
|
-
* The configuration of the special characters category order.
|
|
31
|
-
*
|
|
32
|
-
* Special characters categories are displayed in the UI in the order in which they were registered. Using the `order` property
|
|
33
|
-
* allows to override this behaviour and enforce specific order. Categories not listed in the `order` property will be displayed
|
|
34
|
-
* in the default order below categories listed in the configuration.
|
|
35
|
-
*
|
|
36
|
-
* ```ts
|
|
37
|
-
* ClassicEditor
|
|
38
|
-
* .create( editorElement, {
|
|
39
|
-
* plugins: [ SpecialCharacters, SpecialCharactersEssentials, ... ],
|
|
40
|
-
* specialCharacters: {
|
|
41
|
-
* order: [
|
|
42
|
-
* 'Text',
|
|
43
|
-
* 'Latin',
|
|
44
|
-
* 'Mathematical',
|
|
45
|
-
* 'Currency',
|
|
46
|
-
* 'Arrows'
|
|
47
|
-
* ]
|
|
48
|
-
* }
|
|
49
|
-
* } )
|
|
50
|
-
* .then( ... )
|
|
51
|
-
* .catch( ... );
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
order?: Array<string>;
|
|
55
|
-
}
|
|
@@ -1,38 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharacterscurrency
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* A plugin that provides special characters for the "Currency" category.
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* ClassicEditor
|
|
18
|
-
* .create( {
|
|
19
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersCurrency ],
|
|
20
|
-
* } )
|
|
21
|
-
* .then( ... )
|
|
22
|
-
* .catch( ... );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export default class SpecialCharactersCurrency extends Plugin {
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "SpecialCharactersCurrency";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
init(): void;
|
|
38
|
-
}
|
|
@@ -1,43 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharactersessentials
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
import SpecialCharactersCurrency from './specialcharacterscurrency.js';
|
|
14
|
-
import SpecialCharactersMathematical from './specialcharactersmathematical.js';
|
|
15
|
-
import SpecialCharactersArrows from './specialcharactersarrows.js';
|
|
16
|
-
import SpecialCharactersLatin from './specialcharacterslatin.js';
|
|
17
|
-
import SpecialCharactersText from './specialcharacterstext.js';
|
|
18
|
-
/**
|
|
19
|
-
* A plugin combining a basic set of characters for the special characters plugin.
|
|
20
|
-
*
|
|
21
|
-
* ```ts
|
|
22
|
-
* ClassicEditor
|
|
23
|
-
* .create( {
|
|
24
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersEssentials ],
|
|
25
|
-
* } )
|
|
26
|
-
* .then( ... )
|
|
27
|
-
* .catch( ... );
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export default class SpecialCharactersEssentials extends Plugin {
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get pluginName(): "SpecialCharactersEssentials";
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
static get isOfficialPlugin(): true;
|
|
39
|
-
/**
|
|
40
|
-
* @inheritDoc
|
|
41
|
-
*/
|
|
42
|
-
static get requires(): readonly [typeof SpecialCharactersCurrency, typeof SpecialCharactersText, typeof SpecialCharactersMathematical, typeof SpecialCharactersArrows, typeof SpecialCharactersLatin];
|
|
43
|
-
}
|
|
@@ -1,38 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharacterslatin
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* A plugin that provides special characters for the "Latin" category.
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* ClassicEditor
|
|
18
|
-
* .create( {
|
|
19
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersLatin ],
|
|
20
|
-
* } )
|
|
21
|
-
* .then( ... )
|
|
22
|
-
* .catch( ... );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export default class SpecialCharactersLatin extends Plugin {
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "SpecialCharactersLatin";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
init(): void;
|
|
38
|
-
}
|
|
@@ -1,38 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharactersmathematical
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* A plugin that provides special characters for the "Mathematical" category.
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* ClassicEditor
|
|
18
|
-
* .create( {
|
|
19
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersMathematical ],
|
|
20
|
-
* } )
|
|
21
|
-
* .then( ... )
|
|
22
|
-
* .catch( ... );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export default class SpecialCharactersMathematical extends Plugin {
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "SpecialCharactersMathematical";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
init(): void;
|
|
38
|
-
}
|
|
@@ -1,38 +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-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module special-characters/specialcharacterstext
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* A plugin that provides special characters for the "Text" category.
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* ClassicEditor
|
|
18
|
-
* .create( {
|
|
19
|
-
* plugins: [ ..., SpecialCharacters, SpecialCharactersText ],
|
|
20
|
-
* } )
|
|
21
|
-
* .then( ... )
|
|
22
|
-
* .catch( ... );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export default class SpecialCharactersText extends Plugin {
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "SpecialCharactersText";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
init(): void;
|
|
38
|
-
}
|