Adding key and value to HTML doesn't export? [fixed in 5.0.3]


I add onkeydown, onkeypress, or what have you and the exported code doesn't reflect the added javascript key and value. I'm trying to make a search bar filter through results upon typing butttttt this is making it an issue.

I can go into the element inspector and manually add my code and it works so I know that's not the issue. Please fix! :D

Search the forums."On" events are disabled in BSS by the developers for security reasons (I think.) I don't understand why they do this, but it's been discussed before.

Printninja is correct, we remove "on*" attributes right now for security reasons. But we will work on allowing them in our next releases. Attaching event listeners with JavaScript is the only way to do it right now.

I spoke too quickly. We added support for on attributes in version 5.0.3 which was just released :)