Interface

SpecialCharactersConfig (special-characters)

@ckeditor/ckeditor5-special-characters/src/specialcharacters

interface

The configuration of the special characters feature.

Read more about configuring the special characters feature.

ClassicEditor
	.create( editorElement, {
		specialCharacters: ... // Special characters feature options.
	} )
	.then( ... )
	.catch( ... );

See all editor configuration options.

Filtering

Properties

  • order : Array.<String>

    The configuration of the special characters category order.

    Special characters categories are displayed in the UI in the order in which they were registered. Using the order property allows to override this behaviour and enforce specific order. Categories not listed in the order property will be displayed in the default order below categories listed in the configuration.

    ClassicEditor
    	.create( editorElement, {
    		plugins: [ SpecialCharacters, SpecialCharactersEssentials, ... ],
    		specialCharacters: {
    			order: [
    				'Text',
    				'Latin',
    				'Mathematical',
    				'Currency',
    				'Arrows'
    			]
    		}
    	} )
    	.then( ... )
    	.catch( ... );