Do not initialize Emoji plugins if its database is not available #17772
Labels
package:emoji
squad:platform
Issue to be handled by the Platform team.
status:in-progress
Set automatically when an issue lands in the "In progress" column. We are working on it.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Provide a description of the task
Shortly, when the
EmojiDatabase
could not fetch the resource from a server,Emoji*
plugins should not be initialized because the editor has nothing to show.Right now, it ends with an ugly error when opening a picker.
EmojiMention
does not display anything from the database but suggests using a picker that will not show anything more.Definition of Ready
Technical details
ckeditor5/packages/ckeditor5-emoji/src/emojidatabase.ts
Line 80 in f7577fc
ckeditor5/packages/ckeditor5-emoji/src/emojipicker.ts
Line 96 in f7577fc
ckeditor5/packages/ckeditor5-emoji/src/emojimention.ts
Line 180 in f7577fc
The text was updated successfully, but these errors were encountered: