Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dooza

    (@dooza)

    I also discovered that if I remove this header it works: X-Content-Type-Options:nosniff

    It looks like the script is being served as text/html so the browser won’t execute it. It needs to be text/javascript.

    Any ideas from anyone?

    Thread Starter dooza

    (@dooza)

    Found a cure for this, I added this after line 682 in core.class.php

    header(‘Content-Type: application/javascript’);

    Thread Starter dooza

    (@dooza)

    Your latest update breaks the visual editor, please consider adding the above line to avoid this happening.

    This needs to added after row 746:
    header(‘Content-Type: application/javascript’);

    Steve

    yes, and in all sites where we use visual composer same thing. unfortunately we had to deactivate this plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken Visual Editor’ is closed to new replies.