First of all I'd like to say that you've done a really great job with WYMEditor. But for every new version, I feel stronger and stronger that it's time to refactor the WYM source.
You guys are constantly adding new features, witch is great, but the source is really getting harder and harder to read and understand. So therefore I would suggest that we to the next major release:
- 1. Come up with some kind of coding standard so that all code looks the same.
2. We walk through all the code and restructure it to:
- a) Implement the new coding standard (obviously)
b) Get rid of all the global vars & functions.
c) Be able to make use of the already existing functions in jQurey, why reinvent the wheel?
d) Make the code more maintainable and easy to understand.
- Douglas Crockford: "Quality":
http://video.yahoo.com/video/play?vid=529579
Nicholas Zakas: "Maintainable JavaScript":
http://video.yahoo.com/video/play?vid=568351
http://developer.yahoo.com/yui/theater/
I'd be happy to hear your thoughts on this, and help out whenever I can during this process!