WordPress.org

Ready to get started?Download WordPress

Forums

Olevmedia Shortcodes
Conflict with plugins that use tinymce (1 post)

  1. Bev
    Member
    Posted 5 months ago #

    Thank you for this plugin!

    I have found a solution to a conflict between this plugin and any other plugin that uses the TinyMCE editor in the WordPress dashboard.

    The Javascript inserted by this plugin in plugin.js contains an undefined string OMSC_PLUGIN_PATH_URL, which will break the dashboard. The problem was discovered when editing a membership level under the Paid Memberships Pro plugin.

    The solution I used was to modify the string to a relative path. This might not be the best solution but I was pressed for time.

    If you have the same problem and would like a temporary fix, you need to edit plugin.js and replace:

    image: OMSC_PLUGIN_PATH_URL+'assets/img/button-shortcodes.png'

    with

    image: '../wp-content/plugins/olevmedia-shortcodes/assets/img/button-shortcodes.png'

    https://wordpress.org/plugins/olevmedia-shortcodes/

Reply

You must log in to post.

About this Plugin

About this Topic