This example shows how to replace built-in toolbar button icons with custom SVG markup.
<div id="entry-change-icons"></div>
const app = Redactor('#entry-change-icons', {
buttons: {
icons: {
image: '<svg ...>',
format: '<svg ...>'
}
}
});