External toolbar

This example shows how to place the toolbar to an external HTML box on the page.

Some text between the external toolbar and Redactor.

Code

<!-- external box for toolbar -->
<div id="my-external-toolbar"></div>

<!--element -->
<textarea id="content"></textarea>

<!-- call -->
<script>
$R('#content', { toolbarExternal: '#my-external-toolbar' });
</script>