Hello, when I add a bootstrap 5 sample code in an article, the code does not work, something like nav pills or tabs, but when I put code in a module and check "Prepare Content", i works very well,
what should I do for articles to make it active? note that when I import bundle.js manually in article, it works properly. with this code: <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
thanks
Hello
If you want to add it globally, you can access JA Purity IV template style >> Global settings >> Custom Code and load the script there.
thank you, but I have no problem for adding it globally or based on need, the problem is why it works in a module? but not in article? when it is working in a module, then required add-ons are loading in a way. isn't it?
actually I need you to tell me how to activate it for articles too
Which exact code are you using?
You can share the URL of that article on your site so I can take a look.