HeadingTitleConfig
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( ... );
Copy code
Properties
placeholder : string | undefinedmodule:heading/title~HeadingTitleConfig#placeholderDefines a custom value of the placeholder for the title field.
Read more in
HeadingTitleConfig.