• 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.

  • The topic ‘Fix for the breaking of the visual editor’ is closed to new replies.