Change icons

This example shows how to change any icon in any editor toolbar. For example, here we change the format and image icons.

Code

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

<!-- call -->
<script>
let app = Redactor('#entry', {
    buttons: {
        icons: {
            image: '<svg...>',
            format: '<svg...>'
        }
    }
});
</script>