CKEditor Disappears when modules is is enabled with default Media Plugin

Created on 27 June 2024, 6 months ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

CkEditor 5 toolbar disappears when module is enable together with the default media Plugin in Drupal 10.3.0 and PHP 8.2

Steps to reproduce

  1. - Install one of the plugins
  2. - Enable the Media Plugin and One of the Premium Plugins
  3. - The CKEditor toolbar disappears, and the console log shows an error
πŸ› Bug report
Status

Closed: duplicate

Version

1.1

Component

User interface

Created by

πŸ‡ΊπŸ‡¬Uganda Thomas Kaisuka

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

Comments & Activities

  • Issue created by @Thomas Kaisuka
  • Status changed to Closed: duplicate 6 months ago
  • πŸ‡΅πŸ‡±Poland dolszewski

    Hi @thomas-kaisuka
    This error is related to Premium Features module. There is already a patch for this:
    https://www.drupal.org/project/ckeditor5_premium_features/issues/3455574 πŸ› plugincollection-plugin-not-loaded when upgraded to 1.2.9 Active

  • πŸ‡ΊπŸ‡¬Uganda Thomas Kaisuka

    Thanks @dolszewski, the patch there fixed the problem. Just commenting here incase someone uses those keywords to search for the solution.

  • πŸ‡¨πŸ‡¦Canada dadderley Vancouver

    Thanks, had same issue have not patched yet.

  • πŸ‡¨πŸ‡¦Canada dadderley Vancouver

    I have a site running Drupal 10.3.2 in PHP 8.3.10.
    I install CKEditor 5 Plugin Pack 1.2 - I use the Media Plugin.
    It all works fine.

    I enable ckeditor5_premium_features and do not enable any of its submodules

    The CKEditor toolbar disappears.

    No idea why it is doing this.

    This works on another site, but not this one.

  • πŸ‡΅πŸ‡±Poland salmonek

    Hi @dadderley
    Please ensure you do not have Premium Features 1.2.9 installed.
    We have released version 1.2.1 of Plugin pack which has dependency on Premium Features ^1.3 which comes with the issue fixed.
    In case your problem persists then it is rather not related to issue mentioned in this ticket. In such case please share your browser's developer console output - that should help us finding out reason of the problem.

  • πŸ‡¨πŸ‡¦Canada dadderley Vancouver

    I did have Premium Features 1.2.9 installed.

    I uninstalled the the whole works and installed ckeditor5_plugin_pack:^1.2.
    Problem solved. Thank you.

    public_html$ composer require 'drupal/ckeditor5_plugin_pack:^1.2'
    ./composer.json has been updated
    Running composer update drupal/ckeditor5_plugin_pack
    Gathering patches for root package.
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 11 installs, 0 updates, 0 removals
      - Locking aws/aws-crt-php (v1.2.6)
      - Locking aws/aws-sdk-php (3.319.4)
      - Locking caxy/php-htmldiff (v0.1.15)
      - Locking drupal/ckeditor5_plugin_pack (1.2.1)
      - Locking drupal/ckeditor5_premium_features (1.3.1)
      - Locking ezyang/htmlpurifier (v4.17.0)
      - Locking firebase/php-jwt (v6.10.1)
      - Locking mtdowling/jmespath.php (2.7.0)
      - Locking openai-php/client (v0.10.1)
      - Locking php-http/discovery (1.19.4)
      - Locking php-http/multipart-stream-builder (1.3.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 11 installs, 0 updates, 0 removals
      - Downloading drupal/ckeditor5_plugin_pack (1.2.1)
    Gathering patches for root package.
    Gathering patches for dependencies. This might take a minute.
      - Installing php-http/discovery (1.19.4): Extracting archive
      - Installing aws/aws-crt-php (v1.2.6): Extracting archive
      - Installing php-http/multipart-stream-builder (1.3.1): Extracting archive
      - Installing openai-php/client (v0.10.1): Extracting archive
      - Installing firebase/php-jwt (v6.10.1): Extracting archive
      - Installing ezyang/htmlpurifier (v4.17.0): Extracting archive
      - Installing caxy/php-htmldiff (v0.1.15): Extracting archive
      - Installing mtdowling/jmespath.php (2.7.0): Extracting archive
      - Installing aws/aws-sdk-php (3.319.4): Extracting archive
      - Installing drupal/ckeditor5_premium_features (1.3.1): Extracting archive
      - Installing drupal/ckeditor5_plugin_pack (1.2.1): Extracting archive
    6 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Generating autoload files
    49 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found
Production build 0.71.5 2024