• Hi,
    I’ve got problem with your plugin. I use the newest version of the Divi theme.

    The first problem was the plugin window was behind the Divi Builder window – the fix is to change z-index value in crayon.min.css to something higher than 9999.

    The second problem is more difficult, because when I open plugin window, then close it (doesn’t matter if I click save nor cancel) and when I try to open it again it won’t open.
    I’ve found the place, where it’s happening:
    /util/tag-editor/crayon_tag_editor.js, in base.showDialog
    When I change:

    if (!wasLoaded) {
        // Forcefully load the colorbox. Otherwise it populates the content after opening the window and
        // never renders.
        $.colorbox(colorboxSettings);
    }
    base._showDialog(args);

    to:

    $.colorbox(colorboxSettings);
    base._showDialog(args);

    then everything works like a charm.

    I wonder is it possible to make a fix in the next version for this compatibility error?

    Best regards!

    https://ww.wp.xz.cn/plugins/crayon-syntax-highlighter/

The topic ‘Crayon and Divi theme’ is closed to new replies.