Style block

This example shows how using plugins you can customize block styles such as background, color, border, padding. Click on any block and then on the icon on the left to see the menu.

Code

<!-- element -->
<textarea id="entry">...</textarea>

<!-- call -->
<script>
let app = Redactor('#entry', {
    plugins: ['blockcolor', 'blockbackground', 'blockborder', 'blockspacing']
});
</script>