--- category: features --- {@snippet build-classic-source} # Editor placeholder CKEditor 5 can display a configurable placeholder text when the content is empty. The placeholder helps users locate the editor in the application and prompts to input the content. It works similarly to the native DOM [`placeholder` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#The_placeholder_attribute) used by inputs. See the demo of the placeholder feature: {@snippet features/placeholder} ## Configuring the placeholder There are two different ways of configuring the editor placeholder text: ### Using the `placeholder` attribute of a textarea Set the `placeholder` attribute on a ` ``` ```js ClassicEditor .create( document.querySelector( '#editor' ) ) .then( editor => { console.log( editor ); } ) .catch( error => { console.error( error ); } ); ``` ### Using the editor configuration You can use the {@link module:core/editor/editorconfig~EditorConfig#placeholder `editor.config.placeholder`} configuration option: * when no element was passed into `Editor.create()` method, * when the element passed into `Editor.create()` was not a `