CoreMedia CKEditor 5 Link Plugins
Module: @coremedia/ckeditor5-coremedia-link
The plugins provided in ckeditor5-link
extend the
CKEditor 5 Link Feature in several ways:
-
Adds a configuration option for the
target
behavior to link editing. It extends theLinkActionsView
by buttons to toggle between different behaviors. -
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
-
Notes for manual testing, which should be done on each CKEditor update.