i am trying to setup tinymce in my web application made in laravel 5.4. I dont know what happened but i made a few modifications and now it can't find "theme.js" and "plugins.js". I had this code at the end of my html file
<script src="{{ URL::asset('js/plugins/tinymce/tinymce.min.js') }}"></script>
<script src="{{ URL::asset('js/components/post/create.js') }}"></script>
This is the code to initialize tinymce:
tinymce.init({
selector: '#tinymce',
height: 400,
plugins: 'advlist autolink link image lists charmap print preview',
setup: function (editor) {
editor.getElement().removeAttribute('required');
}
});
I have all the files needed to run tinymce: Directory structure