@ckeditor/ckeditor5-emoji 48.1.1 → 48.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/dist/emojiconfig.d.ts +5 -5
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/emojiconfig.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*
|
|
13
13
|
* ```ts
|
|
14
14
|
* ClassicEditor
|
|
15
|
-
* .create(
|
|
15
|
+
* .create( {
|
|
16
16
|
* emoji: ... // Emoji feature options.
|
|
17
17
|
* } )
|
|
18
18
|
* .then( ... )
|
|
@@ -27,7 +27,7 @@ export interface EmojiConfig {
|
|
|
27
27
|
*
|
|
28
28
|
* ```ts
|
|
29
29
|
* ClassicEditor
|
|
30
|
-
* .create(
|
|
30
|
+
* .create( {
|
|
31
31
|
* plugins: [ Emoji, ... ],
|
|
32
32
|
* emoji: {
|
|
33
33
|
* dropdownLimit: 4
|
|
@@ -45,7 +45,7 @@ export interface EmojiConfig {
|
|
|
45
45
|
*
|
|
46
46
|
* ```ts
|
|
47
47
|
* ClassicEditor
|
|
48
|
-
* .create(
|
|
48
|
+
* .create( {
|
|
49
49
|
* plugins: [ Emoji, ... ],
|
|
50
50
|
* emoji: {
|
|
51
51
|
* skinTone: 'medium'
|
|
@@ -63,7 +63,7 @@ export interface EmojiConfig {
|
|
|
63
63
|
*
|
|
64
64
|
* ```ts
|
|
65
65
|
* ClassicEditor
|
|
66
|
-
* .create(
|
|
66
|
+
* .create( {
|
|
67
67
|
* plugins: [ Emoji, ... ],
|
|
68
68
|
* emoji: {
|
|
69
69
|
* definitionsUrl: ''
|
|
@@ -79,7 +79,7 @@ export interface EmojiConfig {
|
|
|
79
79
|
*
|
|
80
80
|
* ```ts
|
|
81
81
|
* ClassicEditor
|
|
82
|
-
* .create(
|
|
82
|
+
* .create( {
|
|
83
83
|
* plugins: [ Emoji, ... ],
|
|
84
84
|
* emoji: {
|
|
85
85
|
* version: 15
|
package/dist/index.js
CHANGED
|
@@ -737,7 +737,8 @@ const EMOJI_HINT_OPTION_ID = ':__EMOJI_HINT:';
|
|
|
737
737
|
if (searchQuery.startsWith(EMOJI_MENTION_MARKER)) {
|
|
738
738
|
return [];
|
|
739
739
|
}
|
|
740
|
-
// If the repository plugin is not available, return an empty feed to avoid confusion.
|
|
740
|
+
// If the repository plugin is not available, return an empty feed to avoid confusion.
|
|
741
|
+
// See: https://github.com/ckeditor/ckeditor5/issues/17842.
|
|
741
742
|
if (!this._isEmojiRepositoryAvailable) {
|
|
742
743
|
return [];
|
|
743
744
|
}
|
|
@@ -1651,7 +1652,7 @@ const VISUAL_SELECTION_MARKER_NAME = 'emoji-picker';
|
|
|
1651
1652
|
* @param [searchValue=''] A default query used to filer the grid when opening the UI.
|
|
1652
1653
|
*/ showUI(searchValue = '') {
|
|
1653
1654
|
// Show visual selection on a text when the contextual balloon is displayed.
|
|
1654
|
-
// See
|
|
1655
|
+
// See https://github.com/ckeditor/ckeditor5/issues/17654.
|
|
1655
1656
|
this._showFakeVisualSelection();
|
|
1656
1657
|
if (!this.emojiPickerView) {
|
|
1657
1658
|
this.emojiPickerView = this._createEmojiPickerView();
|