Expand my Community achievements bar.

SOLVED

Script tag removed in Publish/End user Site

Avatar

Level 6

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

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 6

Resolved using Clientlib.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Resolved using Clientlib.

Avatar

Administrator

@Thank you for shaing the solution with AEM community. 



Kautuk Sahni