This example mounts the status bar in an external container with statusbar.target — for example in a meta row above the editor instead of below it.
<div id="editor-status"></div>
<div id="entry-external-statusbar"></div>
<script src="/assets/redactor/plugins/counter/counter.js"></script>
const app = Redactor('#entry-external-statusbar', {
plugins: ['counter'],
statusbar: {
target: '#editor-status'
}
});
When statusbar.target is set, sticky mode is turned off automatically — the bar stays in your container.