Is there a way to select an instance using nicEdit based on its class name rather than just its id?
For example:
<div class="myInstance1">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed magna dolor, faucibus ac, iaculis non, cursus et, dui. Donec non urna. Aliquam volutpat ornare augue. Phasellus egestas, nisl fermentum porttitor rutrum, magna metus rutrum risus, id fringilla magna mi nec lorem.
</div>
Attempting to call nicEdit like this:
<script type="text/javascript>
bkLib.onDomLoaded(function() {
var myNicEditor = new nicEditor();
myNicEditor.setPanel('myNicPanel');
myNicEditor.addInstance('myInstance1');
});
</script>
Unfortunately, it does not work unless the class is actually an id. Any suggestions?