Reputation: 3515
With current setup tinymce selector is set to all textarea fields on my page. How can I change this to only one field using css id property?
This is my current setup
<script>
tinymce.init({ selector: 'textarea' });
</script>
Upvotes: 4
Views: 20627
Reputation: 3638
You can do something like this
<script>
tinymce.init({ selector: "div#div1" });
</script>
Upvotes: 4