@ckeditor/ckeditor5-special-characters 40.2.0 → 41.0.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 +2 -2
- package/lang/translations/ar.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/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.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.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.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/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/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.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/nl.po +1 -1
- package/lang/translations/no.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/sk.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/tk.po +1 -1
- package/lang/translations/tr.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 +3 -2
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +10 -10
- package/src/index.js +9 -9
- package/src/specialcharacters.d.ts +3 -3
- package/src/specialcharacters.js +9 -9
- package/src/specialcharactersarrows.d.ts +2 -2
- package/src/specialcharactersarrows.js +2 -2
- package/src/specialcharactersconfig.d.ts +1 -1
- package/src/specialcharactersconfig.js +1 -1
- package/src/specialcharacterscurrency.d.ts +2 -2
- package/src/specialcharacterscurrency.js +2 -2
- package/src/specialcharactersessentials.d.ts +7 -7
- package/src/specialcharactersessentials.js +7 -7
- package/src/specialcharacterslatin.d.ts +2 -2
- package/src/specialcharacterslatin.js +2 -2
- package/src/specialcharactersmathematical.d.ts +2 -2
- package/src/specialcharactersmathematical.js +2 -2
- package/src/specialcharacterstext.d.ts +2 -2
- package/src/specialcharacterstext.js +2 -2
- package/src/ui/charactergridview.d.ts +3 -3
- package/src/ui/charactergridview.js +3 -3
- package/src/ui/characterinfoview.d.ts +3 -3
- package/src/ui/characterinfoview.js +2 -2
- package/src/ui/specialcharactersnavigationview.d.ts +3 -3
- package/src/ui/specialcharactersnavigationview.js +4 -4
- package/src/ui/specialcharactersview.d.ts +7 -7
- package/src/ui/specialcharactersview.js +3 -3
- package/theme/charactergrid.css +2 -2
- package/theme/characterinfo.css +1 -1
- package/theme/specialcharacters.css +1 -1
package/src/augmentation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { SpecialCharacters, SpecialCharactersArrows, SpecialCharactersCurrency, SpecialCharactersEssentials, SpecialCharactersLatin, SpecialCharactersMathematical, SpecialCharactersText, SpecialCharactersConfig } from './index';
|
|
5
|
+
import type { SpecialCharacters, SpecialCharactersArrows, SpecialCharactersCurrency, SpecialCharactersEssentials, SpecialCharactersLatin, SpecialCharactersMathematical, SpecialCharactersText, SpecialCharactersConfig } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[SpecialCharacters.pluginName]: SpecialCharacters;
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters
|
|
7
7
|
*/
|
|
8
|
-
export { default as SpecialCharacters } from './specialcharacters';
|
|
9
|
-
export { default as SpecialCharactersArrows } from './specialcharactersarrows';
|
|
10
|
-
export { default as SpecialCharactersText } from './specialcharacterstext';
|
|
11
|
-
export { default as SpecialCharactersMathematical } from './specialcharactersmathematical';
|
|
12
|
-
export { default as SpecialCharactersLatin } from './specialcharacterslatin';
|
|
13
|
-
export { default as SpecialCharactersEssentials } from './specialcharactersessentials';
|
|
14
|
-
export { default as SpecialCharactersCurrency } from './specialcharacterscurrency';
|
|
15
|
-
export type { SpecialCharactersConfig } from './specialcharactersconfig';
|
|
16
|
-
import './augmentation';
|
|
8
|
+
export { default as SpecialCharacters } from './specialcharacters.js';
|
|
9
|
+
export { default as SpecialCharactersArrows } from './specialcharactersarrows.js';
|
|
10
|
+
export { default as SpecialCharactersText } from './specialcharacterstext.js';
|
|
11
|
+
export { default as SpecialCharactersMathematical } from './specialcharactersmathematical.js';
|
|
12
|
+
export { default as SpecialCharactersLatin } from './specialcharacterslatin.js';
|
|
13
|
+
export { default as SpecialCharactersEssentials } from './specialcharactersessentials.js';
|
|
14
|
+
export { default as SpecialCharactersCurrency } from './specialcharacterscurrency.js';
|
|
15
|
+
export type { SpecialCharactersConfig } from './specialcharactersconfig.js';
|
|
16
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters
|
|
7
7
|
*/
|
|
8
|
-
export { default as SpecialCharacters } from './specialcharacters';
|
|
9
|
-
export { default as SpecialCharactersArrows } from './specialcharactersarrows';
|
|
10
|
-
export { default as SpecialCharactersText } from './specialcharacterstext';
|
|
11
|
-
export { default as SpecialCharactersMathematical } from './specialcharactersmathematical';
|
|
12
|
-
export { default as SpecialCharactersLatin } from './specialcharacterslatin';
|
|
13
|
-
export { default as SpecialCharactersEssentials } from './specialcharactersessentials';
|
|
14
|
-
export { default as SpecialCharactersCurrency } from './specialcharacterscurrency';
|
|
15
|
-
import './augmentation';
|
|
8
|
+
export { default as SpecialCharacters } from './specialcharacters.js';
|
|
9
|
+
export { default as SpecialCharactersArrows } from './specialcharactersarrows.js';
|
|
10
|
+
export { default as SpecialCharactersText } from './specialcharacterstext.js';
|
|
11
|
+
export { default as SpecialCharactersMathematical } from './specialcharactersmathematical.js';
|
|
12
|
+
export { default as SpecialCharactersLatin } from './specialcharacterslatin.js';
|
|
13
|
+
export { default as SpecialCharactersEssentials } from './specialcharactersessentials.js';
|
|
14
|
+
export { default as SpecialCharactersCurrency } from './specialcharacterscurrency.js';
|
|
15
|
+
import './augmentation.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacters
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
-
import { Typing } from 'ckeditor5/src/typing';
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Typing } from 'ckeditor5/src/typing.js';
|
|
10
10
|
import '../theme/specialcharacters.css';
|
|
11
11
|
/**
|
|
12
12
|
* The special characters feature.
|
package/src/specialcharacters.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacters
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Typing } from 'ckeditor5/src/typing';
|
|
10
|
-
import { createDropdown } from 'ckeditor5/src/ui';
|
|
11
|
-
import { CKEditorError } from 'ckeditor5/src/utils';
|
|
12
|
-
import SpecialCharactersNavigationView from './ui/specialcharactersnavigationview';
|
|
13
|
-
import CharacterGridView from './ui/charactergridview';
|
|
14
|
-
import CharacterInfoView from './ui/characterinfoview';
|
|
15
|
-
import SpecialCharactersView from './ui/specialcharactersview';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Typing } from 'ckeditor5/src/typing.js';
|
|
10
|
+
import { createDropdown } from 'ckeditor5/src/ui.js';
|
|
11
|
+
import { CKEditorError } from 'ckeditor5/src/utils.js';
|
|
12
|
+
import SpecialCharactersNavigationView from './ui/specialcharactersnavigationview.js';
|
|
13
|
+
import CharacterGridView from './ui/charactergridview.js';
|
|
14
|
+
import CharacterInfoView from './ui/characterinfoview.js';
|
|
15
|
+
import SpecialCharactersView from './ui/specialcharactersview.js';
|
|
16
16
|
import specialCharactersIcon from '../theme/icons/specialcharacters.svg';
|
|
17
17
|
import '../theme/specialcharacters.css';
|
|
18
18
|
const ALL_SPECIAL_CHARACTERS_GROUP = 'All';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersarrows
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Arrows" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersarrows
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Arrows" category.
|
|
11
11
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterscurrency
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Currency" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterscurrency
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Currency" category.
|
|
11
11
|
*
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersessentials
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import SpecialCharactersCurrency from './specialcharacterscurrency';
|
|
10
|
-
import SpecialCharactersMathematical from './specialcharactersmathematical';
|
|
11
|
-
import SpecialCharactersArrows from './specialcharactersarrows';
|
|
12
|
-
import SpecialCharactersLatin from './specialcharacterslatin';
|
|
13
|
-
import SpecialCharactersText from './specialcharacterstext';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import SpecialCharactersCurrency from './specialcharacterscurrency.js';
|
|
10
|
+
import SpecialCharactersMathematical from './specialcharactersmathematical.js';
|
|
11
|
+
import SpecialCharactersArrows from './specialcharactersarrows.js';
|
|
12
|
+
import SpecialCharactersLatin from './specialcharacterslatin.js';
|
|
13
|
+
import SpecialCharactersText from './specialcharacterstext.js';
|
|
14
14
|
/**
|
|
15
15
|
* A plugin combining a basic set of characters for the special characters plugin.
|
|
16
16
|
*
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersessentials
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import SpecialCharactersCurrency from './specialcharacterscurrency';
|
|
10
|
-
import SpecialCharactersMathematical from './specialcharactersmathematical';
|
|
11
|
-
import SpecialCharactersArrows from './specialcharactersarrows';
|
|
12
|
-
import SpecialCharactersLatin from './specialcharacterslatin';
|
|
13
|
-
import SpecialCharactersText from './specialcharacterstext';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import SpecialCharactersCurrency from './specialcharacterscurrency.js';
|
|
10
|
+
import SpecialCharactersMathematical from './specialcharactersmathematical.js';
|
|
11
|
+
import SpecialCharactersArrows from './specialcharactersarrows.js';
|
|
12
|
+
import SpecialCharactersLatin from './specialcharacterslatin.js';
|
|
13
|
+
import SpecialCharactersText from './specialcharacterstext.js';
|
|
14
14
|
/**
|
|
15
15
|
* A plugin combining a basic set of characters for the special characters plugin.
|
|
16
16
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterslatin
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Latin" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterslatin
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Latin" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersmathematical
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Mathematical" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharactersmathematical
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Mathematical" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterstext
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Text" category.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/specialcharacterstext
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* A plugin that provides special characters for the "Text" category.
|
|
11
11
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/charactergridview
|
|
7
7
|
*/
|
|
8
|
-
import { View, ButtonView, type ViewCollection } from 'ckeditor5/src/ui';
|
|
9
|
-
import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils';
|
|
8
|
+
import { View, ButtonView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import '../../theme/charactergrid.css';
|
|
11
11
|
/**
|
|
12
12
|
* A grid of character tiles. It allows browsing special characters and selecting the character to
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/charactergridview
|
|
7
7
|
*/
|
|
8
|
-
import { View, ButtonView, addKeyboardHandlingForGrid } from 'ckeditor5/src/ui';
|
|
9
|
-
import { KeystrokeHandler, FocusTracker, global } from 'ckeditor5/src/utils';
|
|
8
|
+
import { View, ButtonView, addKeyboardHandlingForGrid } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { KeystrokeHandler, FocusTracker, global } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import '../../theme/charactergrid.css';
|
|
11
11
|
/**
|
|
12
12
|
* A grid of character tiles. It allows browsing special characters and selecting the character to
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/characterinfoview
|
|
7
7
|
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
9
|
-
import { View } from 'ckeditor5/src/ui';
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import '../../theme/characterinfo.css';
|
|
11
11
|
/**
|
|
12
12
|
* The view displaying detailed information about a special character glyph, e.g. upon
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { View } from 'ckeditor5/src/ui';
|
|
5
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../theme/characterinfo.css';
|
|
7
7
|
/**
|
|
8
8
|
* The view displaying detailed information about a special character glyph, e.g. upon
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/specialcharactersnavigationview
|
|
7
7
|
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5/src/utils';
|
|
9
|
-
import { FormHeaderView, type DropdownView } from 'ckeditor5/src/ui';
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { FormHeaderView, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
10
10
|
/**
|
|
11
11
|
* A class representing the navigation part of the special characters UI. It is responsible
|
|
12
12
|
* for describing the feature and allowing the user to select a particular character group.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/specialcharactersnavigationview
|
|
7
7
|
*/
|
|
8
|
-
import { Collection } from 'ckeditor5/src/utils';
|
|
9
|
-
import { addListToDropdown, createDropdown,
|
|
8
|
+
import { Collection } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { addListToDropdown, createDropdown, ViewModel, FormHeaderView } from 'ckeditor5/src/ui.js';
|
|
10
10
|
/**
|
|
11
11
|
* A class representing the navigation part of the special characters UI. It is responsible
|
|
12
12
|
* for describing the feature and allowing the user to select a particular character group.
|
|
@@ -81,7 +81,7 @@ export default class SpecialCharactersNavigationView extends FormHeaderView {
|
|
|
81
81
|
_getCharacterGroupListItemDefinitions(dropdown, groupNames) {
|
|
82
82
|
const groupDefs = new Collection();
|
|
83
83
|
for (const [name, label] of groupNames) {
|
|
84
|
-
const model = new
|
|
84
|
+
const model = new ViewModel({
|
|
85
85
|
name,
|
|
86
86
|
label,
|
|
87
87
|
withText: true,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/specialcharactersview
|
|
7
7
|
*/
|
|
8
|
-
import { View, FocusCycler, type ViewCollection } from 'ckeditor5/src/ui';
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
import type CharacterGridView from './charactergridview';
|
|
11
|
-
import type CharacterInfoView from './characterinfoview';
|
|
12
|
-
import type SpecialCharactersNavigationView from './specialcharactersnavigationview';
|
|
8
|
+
import { View, FocusCycler, type ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type CharacterGridView from './charactergridview.js';
|
|
11
|
+
import type CharacterInfoView from './characterinfoview.js';
|
|
12
|
+
import type SpecialCharactersNavigationView from './specialcharactersnavigationview.js';
|
|
13
13
|
/**
|
|
14
14
|
* A view that glues pieces of the special characters dropdown panel together:
|
|
15
15
|
*
|
|
@@ -21,7 +21,7 @@ export default class SpecialCharactersView extends View<HTMLDivElement> {
|
|
|
21
21
|
/**
|
|
22
22
|
* A collection of the focusable children of the view.
|
|
23
23
|
*/
|
|
24
|
-
readonly items: ViewCollection
|
|
24
|
+
readonly items: ViewCollection<FocusableView>;
|
|
25
25
|
/**
|
|
26
26
|
* Tracks information about the DOM focus in the view.
|
|
27
27
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module special-characters/ui/specialcharactersview
|
|
7
7
|
*/
|
|
8
|
-
import { View, FocusCycler } from 'ckeditor5/src/ui';
|
|
9
|
-
import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils';
|
|
8
|
+
import { View, FocusCycler } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* A view that glues pieces of the special characters dropdown panel together:
|
|
12
12
|
*
|
package/theme/charactergrid.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.ck.ck-character-grid {
|
|
7
7
|
max-width: 100%;
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
& .ck-character-grid__tiles {
|
|
10
10
|
display: grid;
|
|
11
11
|
}
|
package/theme/characterinfo.css
CHANGED