You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$('#question-editor').wysiwyg().on('change', function () {
// Do something
});
Just spits out a jQuery error:
jquery.min.js:2 Uncaught TypeError: Cannot read property 'on' of undefined
at HTMLDocument.<anonymous> (poll.js:26)
at j (jquery.min.js:2)
at k (jquery.min.js:2)
It seems the wysiwyg() function doesn't actually return anything anymore.
I would suggest updating the examples
The text was updated successfully, but these errors were encountered:
Unless I'm mistaken, this seems like a more serious problem where this plug-in is basically unusable in its current form.
The Wysiwyg class is never exposed because it is in a self-calling function, and the jquery function doesn't return the newly created object. How can we do anything with this?
Using the very example given in this repo
Just spits out a jQuery error:
It seems the wysiwyg() function doesn't actually return anything anymore.
I would suggest updating the examples
The text was updated successfully, but these errors were encountered: