@ckeditor/ckeditor5-emoji 44.3.0-alpha.1 → 44.3.0-alpha.2
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 +2 -2
- package/README.md +17 -11
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/emojiconfig.d.ts +2 -2
- package/src/emojirepository.d.ts +1 -1
- package/src/utils/isemojisupported.js +1 -0
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor 5
|
|
4
|
+
**CKEditor 5 Emoji feature** – https://github.com/ckeditor/ckeditor5-emoji <br>
|
|
5
5
|
Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under a dual-license model, this software is available under:
|
|
@@ -16,7 +16,7 @@ Sources of Intellectual Property Included in CKEditor
|
|
|
16
16
|
|
|
17
17
|
Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
|
|
18
18
|
|
|
19
|
-
The following libraries are included in CKEditor
|
|
19
|
+
The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
|
|
20
20
|
|
|
21
21
|
* emojibase-data - Copyright (c) 2017-2019 Miles Johnson.
|
|
22
22
|
* fuzzysort - Copyright (c) 2018 Stephen Kamenar.
|
package/README.md
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
|
-
CKEditor 5
|
|
1
|
+
CKEditor 5 Emoji feature
|
|
2
2
|
=============================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-emoji)
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
|
-
[](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
|
|
7
7
|
|
|
8
|
-
This package implements the
|
|
9
|
-
|
|
10
|
-
## Demo
|
|
11
|
-
|
|
12
|
-
Check out the demo in the [emoji feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/emoji.html#demo).
|
|
13
|
-
|
|
14
|
-
## Documentation
|
|
15
|
-
|
|
16
|
-
See the [`@ckeditor/ckeditor5-emoji` package](https://ckeditor.com/docs/ckeditor5/latest/api/emoji.html) page as well as the [emoji feature](https://ckeditor.com/docs/ckeditor5/latest/features/emoji.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
8
|
+
This package implements the Emoji feature for CKEditor 5.
|
|
17
9
|
|
|
18
10
|
## Installation
|
|
19
11
|
|
|
12
|
+
This plugin is part of the `ckeditor5` package. Install the whole package to use it.
|
|
13
|
+
|
|
20
14
|
```bash
|
|
21
15
|
npm install ckeditor5
|
|
22
16
|
```
|
|
23
17
|
|
|
18
|
+
## Create free account
|
|
19
|
+
|
|
20
|
+
If you want to check full CKEditor 5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
|
|
21
|
+
|
|
22
|
+
## Demo
|
|
23
|
+
|
|
24
|
+
Check out the [demo in the Emoji feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/emoji.html#demo).
|
|
25
|
+
|
|
26
|
+
## Documentation
|
|
27
|
+
|
|
28
|
+
See the [`@ckeditor/ckeditor5-emoji` package](https://ckeditor.com/docs/ckeditor5/latest/api/emoji.html) page as well as the [Emoji feature](https://ckeditor.com/docs/ckeditor5/latest/features/emoji.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
29
|
+
|
|
24
30
|
## License
|
|
25
31
|
|
|
26
32
|
Licensed under a dual-license model, this software is available under:
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ import { View, addKeyboardHandlingForGrid, ButtonView, FocusCycler, SearchTextVi
|
|
|
50
50
|
const x = CANVAS_WIDTH + i / 4 % CANVAS_WIDTH;
|
|
51
51
|
const y = Math.floor(i / 4 / CANVAS_WIDTH);
|
|
52
52
|
const b = ctx.getImageData(x, y, 1, 1).data;
|
|
53
|
-
if (a[i] !== b[0] || a[i + 2] !== b[2]) {
|
|
53
|
+
/* istanbul ignore next -- @preserve */ if (a[i] !== b[0] || a[i + 2] !== b[2]) {
|
|
54
54
|
return false;
|
|
55
55
|
}
|
|
56
56
|
//Some emojis consist of different ones, so they will show multiple characters if they are not supported.
|