5 ms·
It requires literally dozens of .js files to get it working... Is there a bundled and minified version of this in a single file? I'm very much interested in a
by swilliams 16y ago
It requires literally dozens of .js files to get it working... Is there a bundled and minified version of this in a single file?
I'm very much interested in a basic rich-text editor that is either uses jQuery or is just framework independent. I've liked 37signals's wysihat, but it uses Prototype. I'm sort of working on porting it to jQuery, but that takes time.
- rwalker 16y agoIt (like the rest of the Closure Library) is designed to be used with the Closure Compiler: http://code.google.com/closure/compiler/ http://code.google.com/closure/compiler/ The general philosophy is: for development, loading lots of files is ok and in some cases easier to debug. For production, the compiler will often strip out much more code than just minification would.
- swilliams 16y agoI saw that, and agree with that philosophy, but does the compiler also pull in all the extra files too? I didn't see it spelled out... I'm guessing yes, so I'll play around with it later tonight.
- rwalker 16y agoI'm not sure exactly what files get pulled in by the compiler, but it will remove any dead code (meaning 100% of any extra files) and output a single minimized file.
- callmeed 16y agoWe use this one in our CMS: http://code.google.com/p/jwysiwyg/ http://code.google.com/p/jwysiwyg/ It does the job and Ive found it easy to hack/patch when needed.