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
I rarely use jQuery. On new sites, I have my own $() method that replaces jQ, and on older sites I used Mootools. When I need jQuery for anything, it must be in noConflict() mode.
How can I do that with Trumbowyg?
Related:
I have lately come to using imports whenever possible.
I exported jQuery as a module, see here.
is there any way to do something like this:
<script type='module'>
import { jQuery as $ } from "../modules/jq.module.js";
import 'https://cdn.pika.dev/trumbowyg';
$('.trumbo').trumbowyg();
</script>
Perhaps the method used to activate trumbowyg can be exported, and passed in the scope and the name of the variable?
Thanks!
The text was updated successfully, but these errors were encountered:
Unable to use with JQuery in noConflict mode.
I rarely use jQuery. On new sites, I have my own $() method that replaces jQ, and on older sites I used Mootools. When I need jQuery for anything, it must be in noConflict() mode.
How can I do that with Trumbowyg?
Related:
I have lately come to using imports whenever possible.
I exported jQuery as a module, see here.
is there any way to do something like this:
Perhaps the method used to activate trumbowyg can be exported, and passed in the scope and the name of the variable?
Thanks!
The text was updated successfully, but these errors were encountered: