Open gorakrao opened 10 years ago
Should be possible, at least in my repo it is possible. See here http://waxolunist.github.io/bootstrap3-wysihtml5-bower/
Simply passing in a DOM node will do the trick:
// HTML5
var textarea = document.querySelector('.class');
// jQuery
var textarea = $('.class').get();
// And finally...
var editor = new wysihtml5.Editor(textarea, { ... });
can't we assign class instead of id for textarea