This example shows how to make the statusbar separate from the editor in the specified element.
<!-- element -->
<textarea id="entry">...</textarea>
<!-- statusbar -->
<div id="external-statusbar"></div>
<!-- call -->
<script>
let app = Redactor('#entry', {
plugins: ['counter'],
statusbar: {
target: '#external-statusbar'
}
});
</script>