In Salesforce Knowledge articles, I'm trying to push data in Salesforce. (after refering this - https://goo.gl/U4kFHW)
I have the HTML file and it has few JavaScript function in it. I wasn't sure about this. For a test purpose, I added small JavaScript code in the HTML file and uploaded the zip.
<p id="demo"></p>
<script>
var cars = ["Saab", "Volvo", "BMW"];
document.getElementById("demo").innerHTML = cars[0];
</script>
This resulted as blank in the articles when it was published.
Any workaround way to include JS function to work inside the Text (rich)? This will help in Salesforce Knowledge articles and else where too. Thank you.