Maybe you guys can help me. I am trying to create a custom plugin for TinyMce that basically wraps my selection like so:
<div class="myClass" >
content </div>
Sort of like how the bold button works. I don't know a lot of javascript and the current plugins are really confusiong so im wondering if anyone can tell me how to do it. I have already created my custom plugin and made it show up on TinyMce, so that part is done, I just need the method.
Thanks!