Problem/Motivation

This error message appears when using the ckeditor plugin.

Proposed resolution

In the file /media_folders/js/ckeditor.js instead of this:

(function ($, Drupal, Sortable) {
  Drupal.behaviors.media_folders_editor = {
    attach(context, settings) {

    ...

  };
})(jQuery, Drupal, Sortable);

I suggest this:

(function ($, Drupal) {
  Drupal.behaviors.media_folders_editor = {
    attach(context, settings) {

    ...

  };
})(jQuery, Drupal);
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lv46gl created an issue. See original summary.

cyrille.miskiewicz’s picture

Here's a quick patch.

jmauricio made their first commit to this issue’s fork.

jmauricio’s picture

Assigned: lv46gl » Unassigned
Status: Active » Reviewed & tested by the community

merged into 1.0.x

jmauricio’s picture

Status: Reviewed & tested by the community » Fixed

released in 1.0.7

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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