I've been experimenting with tinymce npm and following their guide, but I've hit a roadblock.
Including this line of code in the <head> of your HTML page is crucial:
<script src="/path/to/tinymce.min.js"></script>
.
So, I placed this code inside my head tag in the html file:
<script src="node_modules/tinymce/tinymce.min.js"></script>
.
Unfortunately, I encountered an error in the console:
Failed to load resource: net::ERR_FILE_NOT_FOUND
While looking for a solution, I stumbled upon another question on Stack Overflow that seemed relevant to my issue, which you can find here
Following the provided solution, I made the following adjustment but still faced the same error.
<script src="scripts/tinymce.min.js"></script>
I have also included a screenshot of my sample project. Click here to view it.
My goal is to successfully link tinymce.min.js
to
index.html</code, located within the <code>views/blog folder
.
Any suggestions on how to make this setup work would be greatly appreciated!