Provides extensions to CKEditor's Link Feature.

CoreMedia CKEditor 5 Link Plugins

API Documentation

Module: @coremedia/ckeditor5-coremedia-link

The plugins provided in ckeditor5-link extend the CKEditor 5 Link Feature in several ways:

  • LinkTarget Plugin:

    Adds a configuration option for the target behavior to link editing. It extends the LinkActionsView by buttons to toggle between different behaviors.

  • ContentLink Plugin:

    Adds support for links to contents within CoreMedia CMS. It extends the LinkFormView to be able to represent links to contents and to accept contents dropped from within CoreMedia Studio. It also registers a creator function to support ContentLinks in the ContentClipboard plugin.

To ease integration into CKEditor's Link plugin, we also have assistive tooling.

Installation

pnpm install @coremedia/ckeditor5-coremedia-link
import LinkTarget from "@coremedia/ckeditor5-coremedia-link/linktarget/LinkTarget";
import ContentLinks from "@coremedia/ckeditor5-coremedia-link/contentlink/ContentLinks";

ClassicEditor.create(document.querySelector('#editor'), {
plugins: [
ContentLinks,
LinkTarget,
/* ... */
],
}).then((editor) => {
/* ... */
});

See Also

  • Manual Testing

    Notes for manual testing, which should be done on each CKEditor update.

Index

Other

Virtual