Emoji doesn't work

Created on 8 July 2024, 4 months ago
Updated 27 July 2024, 4 months ago

Problem/Motivation

Emoji icon is shown in CKEditor but on clicking I get exception and :

TypeError: ckeditor5_src_ui__WEBPACK_IMPORTED_MODULE_1__.Model is not a constructor
at EmojiCharactersNavigationView._getCharacterGroupListItemDefinitions (emojicharactersnavigationview.js:67:16)
at EmojiCharactersNavigationView._createGroupDropdown (emojicharactersnavigationview.js:40:35)
at new EmojiCharactersNavigationView (emojicharactersnavigationview.js:14:35)
at Emoji._createDropdownPanelContent (emoji.js:204:28)

It worked before. What could be the problem?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kjuro

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kjuro
  • πŸ‡―πŸ‡΄Jordan Qusai Taha Amman

    I am experiencing the same issue with a fresh installation on the new site.

  • πŸ‡ΏπŸ‡¦South Africa ashrafomar Cape Town

    The issue has been fixed in 1.0.1, updating the module should fix the issue.

  • Status changed to Fixed 4 months ago
  • πŸ‡ΏπŸ‡¦South Africa ashrafomar Cape Town
  • πŸ‡ΏπŸ‡¦South Africa ashrafomar Cape Town

    After doing some research and running more tests, it seems there have been major updates to CKEditor 5 packages. This means Drupal's CKEditor 5 has been updated, and the old packages are no longer supported.

    As a result:
    - Any site using a version between Drupal 9.5.8 and 10.2.7 will need to use CKEditor emoji version 1.0.1.
    - Any site using Drupal 10.3 and above will need to use CKEditor emoji version 2.0.1.

    Please update to version 2 if you're running Drupal 10.3 core.

  • πŸ‡ΈπŸ‡°Slovakia kjuro

    It works now with 2.0. Thanks.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024