1.0.0 • Published 6 years ago

ckeditor5-merge-tags v1.0.0

Weekly downloads
12
License
-
Repository
gitlab
Last release
6 years ago

This is a module for ckEditor5. It is based on the tutorial "Implementing an inline widget" on the ckeditor.com website (https://ckeditor.com/docs/ckeditor5/latest/framework/guides/tutorials/implementing-an-inline-widget.html). It might deviate more from it in the future, as it is adapted to fit our project.

To install: npm install ckeditor5-merge-tags

In your application: import MergeTags from "ckeditor5-merge-tags/src/mergetags;

Configuration:

ClassicEditor
       .create( document.querySelector( '#editor' ), {
           plugins: [ MergeTags, ... ],
           toolbar: [ 'mergetags', ... ],
           mergetagsConfig: {
           		types: ['name', 'url', 'whatevertypesyouwanttoallow']
           	},
       } )
       .then( ... )
       .catch( ... );

The config in mergetagsConfig is optional. The application will then use the types specified in mergetagsediting.js.

1.0.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago