This example shows the floating context bar that appears when text is selected.
<div id="entry-context-bar"></div>
const app = Redactor('#entry-context-bar', { buttons: { context: ['bold', 'italic', 'highlight', 'link'] } });