External toolbar

This example shows how to render the toolbox in an external container instead of above the editor.


The toolbar is mounted in #editor-toolbar above the editor.


Code

<div id="editor-toolbar"></div>
<div id="entry-external-toolbar"></div>
const app = Redactor('#entry-external-toolbar', {
    toolbar: {
        target: '#editor-toolbar'
    }
});