Support » Plugin: Black Studio TinyMCE Widget » Plugin clash with "Page Builder"

  • Resolved smokeys_13


    I am using the SiteOrigin Panels (“Page Builder”) plugin v1.2, and when I try to use this plugin in one of the panels, the TinyMCE editor doesn’t seem to load properly (if at all). It works fine under Appearance -> Widgets of course, but the form when editing within the page builder is failing.

    I tried to see if I just needed to ensure an ID wrapper or something that’s different between the two circumstances, as there’s no JS error to point me to anything in particular, but have got nowhere so far.

    Any help you can provide on the matter would be brilliant.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Marco Chiesi


    it looks like both Black Studio TinyMCE Widget and SiteOrigin Panels use a lot of javascript code to render the widget forms. Unfortunately the way SiteOrigin Panels uses to to render the widgets is different from the one used natively by WordPress in widgets administration, hence the missing visual editor. However it should be possible to workaround this behavior and let it work with Page Builder too, even if it may be not so simple. I will look into this and I will let you know in the next few days.

    Hi, thanks for your reply.
    Yea I looked at adding the .widget-inside container and altering your JS to work with .parent().parent() instead of .closest() – the widget also needed to check $pagenow being “post.php” to set $load_editor to true. I got it closer to working, but not close enough. If you know what to be looking for/what needs to be changed I can have a look myself as well if you want.

    Unfortunately I haven’t found a good way to make Page Builder compatible with all widgets. Marco, I’ll take a look on my side and see if I can get our plugins working together.

    Hi guys, don’t want to be too pushy but this issue is holding back a live job at the moment – is there any idea of when this could be sorted out by? I don’t really want to find alternates and re-code my widgets etc, but I might have to if it’s going to be too long for my client. It’ll still end up being used in another project if it gets sorted, so don’t worry about it going to waste, but the active project that this is for at the moment is already past it’s original end date.

    Any updates would be great! Thanks.

    Plugin Author Marco Chiesi


    Hi guys,
    I am actually working on this issue. In my current development version the two plugins may live together, but there are still some glitches that I have to fix. I plan to release a new stable version in the next few days.

    @greg: Thanks, I appreciate that. I think one of the main reason for the compatibility issues may be the presence of duplicate IDs in the DOM in widget forms inside SiteOrigin panels. If you create two panels based on the same widget they share the same IDs, and this can be a problem if there’s some javascript code acting on that form (like in this case). Moreover it looks like there are duplicate IDs even with a single widget instance because there are 2 copies of the widget form in the DOM (one hidden in the panel and one in the dialog). I don’t know if there’s an easy solution to avoid duplicate IDs. In the meantime I am using some dirty trick to workaround it, by dynamically change the IDs.

    I’ve managed to sort out a few of the conflicts with the WYSIWYG widget on my side. Thanks for the heads up on the conflicting IDs @marcochiesi, I’ve managed to sort that out in my dev version.

    Would it be possible for you to email me your unminified JS source? I think I could make a lot of progress if I had access to that.

    Plugin Author Marco Chiesi


    Hi Greg, I’ve sent you my current development version (with unminified js), which works fine with the latest stable version of Page Builder.
    Please check your e-mail. Thanks for your cooperation.

    Sorry, but is there any chance of getting your development versions so I can work towards getting our site finalised for our client? I appreciate that they are only dev versions at the moment, but as long as it’s working I should be able to make any alterations needed to clean bits up for giving them a demo.

    Plugin Author Marco Chiesi


    Hi smokeys_13,
    sure, I can send you my current dev version. But consider that it may be quite different from the one that will be released, ’cause Greg is working on it. Just tell me your email address.

    As far as I can tell, everything will be forward compatible, my changes to Marco’s code have been fairly minor. As far as I can tell, there shouldn’t be any issue with you using the dev version, then updating to 1.2.1 when it’s available.

    Cheers guys, if it can be sent to that’d be great.

    Could you send it to me ( also please?
    Big thanx!

    Plugin Author Marco Chiesi


    Update: after spending some time together with Greg (the author of Page Builder) all the compatibility code is now included in the latest version of Page Builder, so there’s no more need for our dev version. Please update Page Builder and everything should work fine.
    If you’re still having issues, feel free to start a new topic.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Plugin clash with "Page Builder"’ is closed to new replies.