@ckeditor/ckeditor5-emoji 44.3.0-alpha.1 → 44.3.0-alpha.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 emoji feature** – https://github.com/ckeditor/ckeditor5-emoji <br>
4
+ **CKEditor&nbsp;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&nbsp;5 emoji feature under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0):
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&nbsp;5 emoji feature
1
+ CKEditor&nbsp;5 Emoji feature
2
2
  =============================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-emoji.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-emoji)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
- [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
6
+ [![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
7
7
 
8
- This package implements the emoji feature for CKEditor&nbsp;5.
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&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
8
+ This package implements the Emoji feature for CKEditor&nbsp;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&nbsp;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&nbsp;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.