lape Posted January 11, 2017 Share Posted January 11, 2017 (edited) Ik heb prestashop net geupdate naar 1.6.1.10 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 January 11, 2017 by lape (see edit history) Link to comment Share on other sites More sharing options...
lape Posted January 12, 2017 Author Share Posted January 12, 2017 Bedankt voor je antwoord. Dit heb ik echter al geprobeerd, maar het lost het probleem niet op. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now