Canto Environment selection
Click icon in the CKEditor, the canto connection windows popup

This project is not covered by Drupal’s security advisory policy.

Canto Connector integrates Canto digital asset management with the CKEditor 5 editor in Drupal. Editors insert Canto assets into CKEditor 5 content through the Canto asset picker dialog, without leaving the editor.

Requirements

  • Drupal core 9.3 or higher (Drupal 9.3, 10.x, and 11.x are supported).
  • The editor core module must be enabled (typically enabled alongside CKEditor 5).
  • A Canto account with OAuth credentials (subdomain and access token).
  • No additional contributed modules are required.

Installation

  1. Install the module with Composer: composer require drupal/canto_connector.
  2. Enable the module with drush en canto_connector, or through the Drupal admin UI at Extend (/admin/modules).
  3. The compiled JavaScript file js/build/canto_connector.js is not included in the repository. From the module directory, run npm install and then npm run build. Node.js >= 20.9.0 is required for the build step, and the CKEditor 5 button does not work until the file exists.

Configuration

  1. Navigate to Administration → Configuration → Search and metadata → Canto Connector Settings (/admin/config/search/canto_connector).
  2. Select the Canto environment that matches your account (for example canto.com, canto.de, ca.canto.com).
  3. Save the configuration.
  4. Grant the Use Canto Connector (use canto connector) permission to any roles that should have access to the Canto asset picker dialog.

Usage

  1. Open a content item that uses a CKEditor-enabled text format.
  2. Click the Canto Connector button in the CKEditor toolbar.
  3. The Canto asset picker dialog opens. If your OAuth access token is missing or expired, you are prompted to authenticate with your Canto credentials.
  4. Browse your Canto library and select an asset. The selected image is inserted into the editor at the current cursor position.

More information

Project information

Releases