Thanks for sharing!
You might upgrade the initialization code to
if (Array.isArray(options.editorOptions.toolbar)) {
options.editorOptions.toolbar[4].items.push("image");
}
else {
options.editorOptions.toolbar +=" image";
}
to support a toolbar of type "Full".