• Resolved luitpold82

    (@luitpold82)


    Great plugin, but the front end editor in Visual Composer stops working.

    I get the following error in the console:

    Uncaught TypeError: $main.sortable is not a function
    at Object.vc_iframe.setSortable (page_editable.min.js:1)
    at n.setSortable (frontend-editor.min.js:7)
    at vc.ShortcodesBuilder.buildFromContent (frontend-editor.min.js:3)
    at Object.vc.build (frontend-editor.min.js:9)
    at HTMLDocument.<anonymous> (page_editable.min.js:1)
    at n (jquery-1.7.1.min.js:2)
    at Object.fireWith (jquery-1.7.1.min.js:2)
    at Function.ready (jquery-1.7.1.min.js:2)
    at HTMLDocument.B (jquery-1.7.1.min.js:2)

    I’ve tried adding every relevant JS file to the ignore list, but it doesn’t make any difference. Even disabling both JS and CSS minification and merging doesn’t seem to have any effect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi luitpold82, what version of visual composer do you have?

    Plugin Author launchinteractive

    (@launchinteractive)

    Hi luitpold82,

    I discovered that Visual Composer Frontend includes jQuery Waypoints that has a return statement in it. When MMR was concatenating the files all the code added after jQuery Waypoints was being ignored.

    One solution I thought of was to hard code a check for jQuery Waypoints but I have decided to just turn off MMR when in edit mode of Visual Composer. That should prevent any other issues.

    Please install the latest version of MMR (1.8.2) to fix this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Front end editor not working (Visual Composer plugin)’ is closed to new replies.