For those of you that don’t know NicEdit is a pretty awesome little WYSIWYG that is very easy to integrate into any website. Simple slap in a bit of javascript and away you go (well, pretty much).
Anyway, I noticed a small problem when trying to align text in firefox, it seemed to break my site completely and gave an error in firebug when clicked. This was a bit of a problem as it was something I needed to wysi’ to do.
After hunting around a little I found the perfect solution, however it required a bit of hacking of the NicEdit.js file.
The process:
Web2.0goodies has another possible solution to this problem if this method doesn’t work for you!