Context bar

This example shows the floating context bar that appears when text is selected.

Code

<div id="entry-context-bar"></div>
const app = Redactor('#entry-context-bar', {
    buttons: {
        context: ['bold', 'italic', 'highlight', 'link']
    }
});