Hello Pode,
how can i create a new div-object? Whenever I create one I get in Preview
"Assertion failure: No project JSON model available Stack trace: assert2((void 0),"No project JSON model available")@http://localhost:50000/preview_prelude.js:12 ()@http://localhost:50000/preview.js:217 ([object HTMLCanvasElement])@http://localhost:50000/preview.js:112 ("c2canvas")@http://localhost:50000/preview.js:10 ((function (a, b) {return new e.fn.init(a, b, h);}))@http://localhost:50000/:86 ([object HTMLDocument],[object Array])@http://localhost:50000/jquery-1.7.1.min.js:2 ([object HTMLDocument],[object Array])@http://localhost:50000/jquery-1.7.1.min.js:2 ()@http://localhost:50000/jquery-1.7.1.min.js:2 ([object Event])@http://localhost:50000/jquery-1.7.1.min.js:2"
In your example capx:
When I create a new div-object I get the same error. When I create a new instance of your div-object and change the innerHtml it works fine? Strange.
Edit:
Ok, found out that the original Plugin (Download posted by Kyatric: "some temporary upload") doesn't have this problem. <img src="smileys/smiley2.gif" border="0" align="middle" />
Edit2:
With the original Plugin the preview works fine but in the exported project all font-colors are white and the background too <img src="smileys/smiley4.gif" border="0" align="middle" /> --> Add the style="color:red" and you'll see the characters.. <img src="smileys/smiley17.gif" border="0" align="middle" />
thanx, Joe7