Make a backup copy first, then change lines 318 – 348 in visual-editor-custom-buttons.php to this:
if ($wp_version >=3.8) {
$block_plus_url = plugins_url('block--plus.png', __FILE__);
echo "<style>
#menu-posts-vecb_editor_buttons .wp-menu-image {
background:none !important;
}
#menu-posts-vecb_editor_buttons .wp-menu-image {
background: url($block_plus_url) no-repeat 6px -17px !important;
}
#menu-posts-vecb_editor_buttons .wp-menu-image:before {
content: \'\f111\' !important;
}
.mceIcon:hover img {
opacity: 1;
}
.mce-i-none {
opacity: 0.58;
}
#vecb_btnpreview {
opacity: 0.58;
}
#vecb_btnpreview:hover {
opacity: 1;
}
</style>";
I’m also getting LOTS of 404 errors because of this. Please fix it in the next update of the plugin. Thanks!
Still broken in today’s update… Please fix…
Thanks @vtxyzzy for your fix. Any idea how to update it? I tried but it didn’t work.
OK, in version 1.4, visual-editor-custom-buttons.php, change lines 441-443 from this:
if ($wp_version >=3.8) {
echo '<style>
to this (notice the change from single to double quote):
if ($wp_version >=3.8) {
$block_plus_url = plugins_url('block--plus.png', __FILE__);
echo "<style>
Change line 450 from this:
background: url(../block--plus.png) no-repeat 6px -17px !important;
to this:
background: url($block_plus_url) no-repeat 6px -17px !important;
and line 475 from this:
</style>';
to this (again single to double quote):
</style>";
Nice! Thank you!
Cyberduck, I hope you will please incorporate these changes into future versions of the plugin…
or just move block–plus.png to the root directory