Script tag removed in Publish/End user Site | Community
Skip to main content
Level 5
Sep 1, 2021 12:27 PM UTC
Solved

Script tag removed in Publish/End user Site

Hello Team,

 

Below code is part of one Sightly HTML:

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
var hello = new Swiper(".artcile-page", {
mousewheel: true,
});
</script>

PROBLEM:

In author view source, we can see this piece of code. But in Publish page, only 

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script> is visible.

Rest part is removed.

 

Regards,AP

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arvind-1Accepted solution
Level 5
Sep 1, 2021 1:59 PM UTC

Resolved using Clientlib.

2 replies

arvind-1AuthorAccepted solution
Level 5
Sep 1, 2021 1:59 PM UTC

Resolved using Clientlib.

Translate
kautuk_sahni
Employee
Sep 2, 2021 10:27 AM UTC

@Thank you for shaing the solution with AEM community. 

Translate
Kautuk Sahni