Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Script tag removed in Publish/End user Site

Avatar

Level 5

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 5

Resolved using Clientlib.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

Resolved using Clientlib.