Toolbar target

This example shows how to set up the toolbar if Redactor is in the overflow layer.

Code

<!--element -->
<div id="toolbar-target" style="position: relative; height: 450px; overflow: auto;">
    <textarea id="content"></textarea>
</div>

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