CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Configuration for link balloon adaptions

    interface LinkBalloonConfig {
        keepOpen: { classes: string[]; ids: string[] };
    }
    Index

    Properties

    Properties

    keepOpen: { classes: string[]; ids: string[] }

    Ids of DOM Elements the link balloon should not close when the Elements are clicked.

    This improves the work with Components and the link balloon.

    Example configuration:

    ClassicEditor
    .create( document.querySelector( '#editor' ), {
    // ...
    "coremedia:link": {
    linkBalloon: {
    keepOpen: {
    ids: ["example-to-keep-the-link-balloon-open-on-click"],
    classes: ["example-class],
    },
    },
    },
    } )
    .then( ... )
    .catch( ... );