Plugin Conflict with Black Light Studio TinyMCE Widget

Home Forums Calendar Products Events Calendar PRO Plugin Conflict with Black Light Studio TinyMCE Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #955462
    healthcommcapacity
    Participant

    Hi – I wanted to revisit this, I saw it just closed and I’m having the same issue:

    Plugin Conflict with Black Light Studio Widget

    When the Events Pro plugin is active, I can’t use the Visual Tab in the TinyMCE Widget – it’s blank. When I deactivate the pro version, all works as it should.

    Any ideas/fixes? Many thanks.

    #955764
    George
    Participant

    Hey Donna,

    I downloaded that plugin and installed it on my local testing site to try and learn more about what’s going on here.

    Your description of the issues is accurate, and when I investigated this further, I boiled down the issue to be stemming from the following code in our calendar-widget-admin.js file:

    
    Array.prototype.myremove = function() {
        var what, a = arguments, L = a.length, ax;
        
        while ( L && this.length ) {
            what = a[--L];
            while ( (ax = this.indexOf( what )) != -1 ) {
                this.splice( ax, 1 );
            }
        }
    
        return this;
    };
    

    I’m unfortunately not 100% sure what about that code is causing these issues specifically, and will bring it up with other developers here for some insight, but in the meantime, a simple, forceful way to fix this would be to literally just remove the code directly – this is not recommended, and will break the calendar widget admin functionality, but if you need the TinyMCE widget more, and urgently, then it’s an option. To do it, head to your site’s wp-config.php file and add this line of code:

    
    define( 'SCRIPT_DEBUG', true );
    

    Then, head to the aforementioned calendar-widget-admin.js file and remove that code. Just an idea if this is extremely urgent, but again, this is not recommended.

    Sorry for the trouble here!

    — George

    #984022
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Plugin Conflict with Black Light Studio TinyMCE Widget’ is closed to new replies.