On Mon, 23 Jul 2012 at 02:35PM -0500, Jason Grout wrote:
> You're doing this in a text cell?
Yes. I can make it work with an iframe, but I'd like to get it all
working directly in the worksheet.
> Is tinymce escaping things?
Maybe. I'm not sure how to check. I pasted in my code using the raw HTML
window in the tinymce editor. Later I tried manually editing the text
version.
What is strange is that when I try to double-click the text cell where I
see the strange output, it doesn't respond.
> Or did you try to embed it using html() in a sage cell?
When I try with html(), I get the error "called Processing constructor without
passing canvas element reference or id." Which is strange, because I
have a canvas element reference. Maybe the canvas element hasn't been
put into the DOM when that bit of Javascript is running?
Dan