ReferenceError: tinymce is not defined
时间: 2023-08-24 07:04:29 浏览: 212
The error message you encountered, "ReferenceError: tinymce is not defined," typically occurs when the `tinymce` library or script is not properly loaded or included in your code.
To resolve this issue, make sure you have included the `tinymce` library in your HTML file by adding the appropriate `<script>` tag. You can either download the library and host it locally or include it from a CDN (Content Delivery Network) by adding the following line of code within the `<head>` section of your HTML file:
```html
<script src="https://cdn.tiny.cloud/1/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
```
Make sure to replace the version number (`5`) with the appropriate version you want to use.
If you have already included the script tag and are still getting the error, double-check that the path to the `tinymce` script is correct and accessible.
阅读全文