1.0.8 • Published 4 years ago

ckeditor5-textshadow v1.0.8

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

CKEditor 5 text shadow

made by: Kylian Dekker

This package implements support for the following CKEditor 5 features:

  • font color,

The original plugin was made by CKEditor-5.

Installation

Place the plugin in your plugins folder and import it in your app.js.

import TextShadow from 'ckeditor5-textshadow/src/fontcolor/fontcolor';

Include it in your plugins:

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        // Add Image to the plugin list.
        plugins: [ TextShadow ],

        // ...
    } )
    // ..

And include it in the toolbar:

toolbar: {
	items: [
		'textShadow'
	]
}

Usage

I have added a few options for customization.

You can enable the RGB features or disable them completely.

RGB: true

You can enable the Hex features or disable them completely.

hex: true

You can enable the remove color button feature or disable it completely.

removeButton: true

You can enable or disable debug/info messages from the plugin.

infoMessages: true

Contributing

If you have any improvements or want any features let me know.