Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component popup not working in Divi builder #322

Open
GetGo opened this issue Jan 7, 2017 · 0 comments
Open

Component popup not working in Divi builder #322

GetGo opened this issue Jan 7, 2017 · 0 comments

Comments

@GetGo
Copy link

GetGo commented Jan 7, 2017

I hope this is the right way to report this and ask for help.
The Divi theme has a layout builder, with a text component that is much like the regular Wordpress visual builder. The buttons other plugins create on the editor, like Caldera Forms and Pods Shortcode work but for some reason the Aesop "Add Component" does not open the pop up the Window to select components in this editor. I contacted the theme developer in this ticket and they tracked the issue to this file: /plugins/aesop-story-engine/admin/assets/js/generator.js
This code is not popping up the Window in the Divi editor:

$('.aesop-add-story-component').click(function(e){
e.preventDefault();

if ( typeof window.aiactive !== 'undefined' ) {
alert('Nesting components within the visual interface is not supported.');
} else if ( typeof window.ailocked !== 'undefined' ) {
alert('Please click on the editor and set your cursor location first.');
} else {
jQuery('body').toggleClass('modal-open');
jQuery(modal).toggleClass('aesop-generator-open');
}

});

Is there any way for Divi and Aesop to coexist? I am new to this type of code level, but if there is any changes I can make to my theme or site that will help this work please let me know.
thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant