Reputation: 91
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>
Upvotes: 0
Views: 485
Reputation:
Use like this
tinymce.init({
selector:'textarea',
plugins: "code image"
});
Upvotes: 1
Reputation: 651
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>
Upvotes: 1