Scroll target

This example demonstrates how to configure Redactor when it is contained within a scrollable layer.

Code

<!-- element --> <div id="target" style="overflow: auto;"> <textarea id="entry">...</textarea> </div> <!-- call --> <script> let app = Redactor('#entry', { scrollTarget: '#target' }); </script>