PDA

View Full Version : Spaw + Ext JS now fixed!



heavywave
8 Jul 2009, 7:56 AM
Hey guys!

Since solmetra apparently abandoned development of Spaw2 HTML editor I've fixed it on my own.
The included fixes are:
1) Chrome and Safari now work correctly.
2) Spaw editor can now be added to Ext JS panel (like you normally add pure html to a panel).

Download it here http://bestla.ru/Spaw.zip (.Net edition, source code and html folders)

The second fix is pretty simple: the editor now loads after body onload event (otherwise iframe is not yet available due to Ext JS being rendered). And for chrome/safari the iframe is recreated on the fly if its content was lost (not sure why it gets lost, probably after it gets redrawn). Took me a whole day to figure out these :)

Still yet to test it in Ext JS forms but I hope it will work just fine.

AxelB
3 Aug 2009, 5:20 AM
Damn, I didn't expect someone to find a fix for this bug anymore !!

Could you eplain what you changed exactly, it's still a bit vague for me ? :)

andrea.chiozzi@metislab.net
23 Sep 2009, 3:29 AM
I'd like to know if you have changed only the Javascripts files, or the .Net files too....

I work with PHP edition,
I've tried to make your spaw version works inside Extjs changing the Javascript files but without success.
I'm wondering if I've to fix the php class that write the js code in the page, and not only the Javascript classes.

Thank You