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
----- Note ---- My issue up above was not due to his library, it was due to Electron, so if someone is using this with Electron make sure you add your scripts like this,
------ Check other post below -----
Uncaught ReferenceError: jQuery is not defined
at jquery.highlight-within-textarea.js:380
Gives me that error, I downloaded it with npm, included the files like this in my HTML
I can see that the linkage works as no 404 in console.
<textarea id="content-editor"></textarea> <script> $('textarea').highlightTextarea({ words: ['Lorem ipsum', 'vulputate'] }); </script>Uncaught ReferenceError: $ is not defined (I assume this one is related to the first error)
Any suggestions? Thanks.
The text was updated successfully, but these errors were encountered: