Plugin Reviews

MTGPulse deckbox embedding tool

Facilitates embedding of MTGPulse.com deckboxes on your word press site

1 review
Average Rating
5 out of 5 stars
Fix for the breaking of the visual editor
By , for WP 3.7.1

Hi Per Stilling,

The plugin is breaking the visual editon when updating to latest version, the fix for this is found on

ln 23 (original)
$plugin_array['mtgpulsedeckbox'] = get_bloginfo('wpurl') . '/wp-content/plugins/mtgpulse-magic-the-gathering-deckbox-plugin/resources/tinymce3/editor_plugin.js';

ln 23 (modified)
$plugin_array['mtgpulsedeckbox'] = plugin_dir_url(__FILE__).'/resources/tinymce3/editor_plugin.js';

The reason it broke was because you used an absolute path for the plugin and had updated the directory name in the latest version.

You must log in to submit a review. You can also log in or register using the form near the top of this page.