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

Replace @context=unsafe for inline js

Avatar

Community Advisor

Hi ,

 I have requirement to call inline script into text area and I have added in sightly like ${properties.textarea @CONTEXT='unsafe'} but as you know Unsafe disabled the XSS protection.

does any one know other way to do it.

 

Kr,

Sanjay

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi @Sanjay_Bangar ,

Please try @context='scriptComment'  instead of unsafe.There are other ways to do, but check if this resolves your purpose.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi @Sanjay_Bangar ,

Please try @context='scriptComment'  instead of unsafe.There are other ways to do, but check if this resolves your purpose.