I'm trying to add codesample plugin and load it, but it returns me an error. I've included files prism.js and prism.css according to the documentation to the folders app/assets/javascripts/tinymce/plugins/codesample/prism.js and app/assets/javascripts/tinymce/plugins/codesample/prism.js respectively, then in my tinymce.yml I've written
toolbar:
- styleselect | bold italic | undo redo | image | link | codesample
plugins:
- image
- link
and finally required prism.js and prism.css in my asset application files, but it returned me an error that it cannot find required files. How should I include codesample plugin properly?
I'm trying to add codesample plugin and load it, but it returns me an error. I've included files
prism.js
andprism.css
according to the documentation to the foldersapp/assets/javascripts/tinymce/plugins/codesample/prism.js
andapp/assets/javascripts/tinymce/plugins/codesample/prism.js
respectively, then in mytinymce.yml
I've writtenand finally required
prism.js
andprism.css
in my asset application files, but it returned me an error that it cannot find required files. How should I include codesample plugin properly?