External statusbar

This example shows how to make the statusbar separate from the editor in the specified element.

Code

<!-- element -->
<textarea id="entry">...</textarea>

<!-- statusbar -->
<div id="external-statusbar"></div>

<!-- call -->
<script>
let app = Redactor('#entry', {
    plugins: ['counter'],
    statusbar: {
        target: '#external-statusbar'
    }
});
</script>