I want to add a placeholder to the WordPress Editor content box.
When you create a new post, the title field shows "Enter Title Here" exactly same like editor. I have used a filter to add text in the editor, but the behaviour of the filter is not the same as the title field. When I click on title field, "Enter Title Here" is replaced with a blank space.
Code:
add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
$content .= '<b id="enter_desc_here" style="color: #BBBBBB;font-size: 1.7em;">Enter Description Here</b>';
return $content;
}
Is it possible to use similar code to add a place holder to the Editor's Content box?