Upon request I created a little HTML5 canvas animation for Christmas (so, tomorrow) and now I am trying to put it into an article. I am using JCE and turned off textfiltering in the configuration of Joomla itself and also in my editor profile. I even added canvas to the exceptions. When I copy my code to the article everything works fine, except that on toggle or save, it removes my canvas-element and replaces it with
. JS and CSS stay and the
div I use as a container for my canvas also stays.
JS fires until ALERT1.
var canvas = document.getElementById("canvas"); alert("ALERT1"); var ctx = canvas.getContext("2d"); alert("ALERT2");