I have tried this simple code to try tinyMCE. It is working fine. Here the problem is when I am trying to add multiple plugin it is not working. Here I have used tinymce CDN. Here is the code
<script>tinymce.init({selector:'textarea',
plugins: "code",
plugins: "image"
});</script>
<body><textarea></textarea></body>
You're using plugins twice. I suggest you do it this way:
<script>
tinymce.init({
selector:'textarea',
plugins: "code image"
});
</script>
<body><textarea></textarea></body>
Use like this
tinymce.init({
selector:'textarea',
plugins: "code image"
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.