@itexteam/ckeditor5-anchor

38.1.1 • Public • Published

CKEditor 5 anchor

This package implements the anchor feature for CKEditor 5. It allows inserting anchor elements (ID field) into the edited content and offers the UI to create and edit them.

Getting Started

These instructions will get you a install this library in your CKEditor project.

Prerequisites

This library needs CKEditor5 in order to work properly.

Installing

Add ckeditor5 anchor as dependency in package.json:

"@ckeditor/ckeditor5-anchor": "bvedad/ckeditor5-anchor",

Import package

import Anchor from '@ckeditor/ckeditor5-anchor/src/anchor';

Use it in the code

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        plugins: [ Anchor, ... ],
        toolbar: [ 'anchor', ... ],
    } )
    .then( ... )
    .catch( ... );

Authors

  • Vedad Burgić (InProd Solutions) - Initial work - bvedad

Acknowledgments

  • CKEditor5 anchor feature

Buy Me A Coffee

/@itexteam/ckeditor5-anchor/

    Package Sidebar

    Install

    npm i @itexteam/ckeditor5-anchor

    Weekly Downloads

    2

    Version

    38.1.1

    License

    GPL-2.0-or-later

    Unpacked Size

    125 kB

    Total Files

    25

    Last publish

    Collaborators

    • itexteam