Jump to content

Tinymce werkt niet


Recommended Posts

Ik heb prestashop net geupdate naar en sinds dan werkt tinymce niet meer


in de chrome console krijg ik de volgende error

Uncaught ReferenceError: $ is not defined
    at tiny_mce.js:5
 * File used for compatibility purpose
 * @type {*|jQuery}
var path = $(location).attr('pathname');
var path_array = path.split('/');
path_array.splice((path_array.length - 2), 2);
var final_path = path_array.join('/');
window.tinyMCEPreInit = {};
window.tinyMCEPreInit.base = final_path+'/js/tiny_mce';
window.tinyMCEPreInit.suffix = '.min';

$('head').append($('<script>').attr('type', 'text/javascript').attr('src', final_path + '/js/tiny_mce/tinymce.min.js'));



Edited by lape (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...