A fork of wysihat to work with jQuery
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples Updated examples to use jQuery (usually just passing $("#content") to… Dec 6, 2010
test use onFrameLoaded for feature detection May 31, 2010
vendor Somehow sprockets was deleted. Jul 16, 2010
.gitignore added tmproj to ignore Dec 23, 2010
.gitmodules Changed modules and vendor to use jquery rather than prototype Jul 16, 2010
CHANGELOG add iframe removal to changelog Feb 3, 2010
LICENSE Updated license, readme, examples, and comments. Jul 17, 2010
Rakefile Changed rakefile to generate jq-wysihat, updated readme Sep 13, 2010



A WYSIWYG JavaScript framework

JQ-WysiHat is a WYSIWYG JavaScript framework that provides an extensible foundation to design your own rich text editor. WysiHat stays out of your way and leaves the UI design to you.

The original version of WysiHat was designed to run on Prototype. This fork of it was ported to run on jQuery (used against 1.4.2).

Support platforms

JQ-WysiHat currently supports:

  • Microsoft Internet Explorer for Windows, version 7.0
  • Mozilla Firefox 3.0
  • Apple Safari 4.0
  • Google Chrome 4.0


  • jQuery 1.4.2 or later (http://jquery.com/) although older versions will probably work fine, they just haven't been tested.


Code is documented inline with PDoc (http://pdoc.org/).

The generated HTML documentation can be found on the gh-pages branch or viewed online at (http://josh.github.com/wysihat/).


Several examples can be found under examples/ to get you started.

The easiest way is to simply call:


This adds some commonly used buttons to the toolbar and gets you going.


Once I get closer to a 'stable' version I'll tag a release and add it here. However, in day to day use I haven't had any major troubles with it.

Building from source

You can build the latest version of JQ-WysiHat from source by running rake the root directory. The generated file will be saved to dist/jq-wysihat.js. Ruby and the Rake gem are only required to build the project from source. It is not required to run the code.


Check out the original WysiHat source with

$ git clone git://github.com/josh/wysihat.git

And the fork with

$ git clone git://github.com/swilliams/jq-wysihat.git


$ cd jq-wysihat
$ git submodule init
$ git submodule update

GitHub pull requests are welcome.


jq-WysiHat is released under the MIT license.