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
targetbehavior to link editing. It extends the link balloon’sToolbarViewby buttons to toggle between different behaviors. -
Adds support for links to contents within CoreMedia CMS. It extends the
LinkFormViewto 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 { ContentLinks, LinkTarget } from "@coremedia/ckeditor5-coremedia-link";
ClassicEditor.create(document.querySelector('#editor'), {
plugins: [
ContentLinks,
LinkTarget,
/* ... */
],
}).then((editor) => {
/* ... */
});
See Also
-
Notes for manual testing, which should be done on each CKEditor update.