Interface

TitleConfig (heading)

@ckeditor/ckeditor5-heading/src/title

interface

The configuration of the title feature.

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        plugins: [ Title, ... ],
        title: {
            placeholder: 'My custom placeholder for the title'
        },
        placeholder: 'My custom placeholder for the body'
    } )
    .then( ... )
    .catch( ... );

See all editor configuration options.

Filtering

Properties

  • placeholder : String

    Defines a custom value of the placeholder for the title field.

    Read more in TitleConfig.