Block placeholder

This example demonstrates how to set a placeholder for a specific block within the editor.

Code

<!-- element -->
<textarea id="entry">
    <h1 data-placeholder="Type heading....">Heading</h1>
    <p data-placeholder="Type paragraph...."></p>
</textarea>

<!-- call -->
<script>
let app = Redactor('#entry');
</script>