• Resolved DeepBlue

    (@deepblue5)


    Hi

    I added a JS but for some reason Fluent snippets doesnt want to save it anymore (i did save it previously with no issue)

    and i have a modal window with the following error :

    Error

    Please remove any any style or script tag from the code

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ruman Ahmed

    (@algorithmsunlocks)

    Hello @deepblue5,

    Thank you for sharing the detailed information. This issue occurs when you try to create a JavaScript snippet and include <script></script> or <style></style> tags within the code. Please note that this is not allowed, as it’s the default behavior of FluentSnippets to treat the input as raw code. Therefore, make sure to exclude any additional <script> or <style> tags when adding your JS code, FluentSnippets handles it appropriately.

    Please let me know if you have any further questions or if there’s anything else I can assist you with.

    Best regards!
    Ruman Ahmed.

    Thread Starter DeepBlue

    (@deepblue5)

    Hi ok thank you !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fluent snippet JS error’ is closed to new replies.