Standards-compliant XHTML WYSIWYM editor
JavaScript Perl PHP Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2565 commits behind wymeditor:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
src
.gitignore
GPL-license.txt
MIT-license.txt
Makefile
README.md

README.md

WYMeditor

WYMeditor is an open source web-based WYSIWYM editor with semantics and standards in mind. The WYM-part stands for "What You Mean" compared to the more common "What You See Is What You Get".

Compatability

WYMeditor is compatible with:

  • IE 6+
  • Firefox 2+
  • Opera 9.5+
  • Safari 3.0+
  • Google Chrome

Quick Start

Include the scripts:

<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript" src="/wymeditor/jquery.wymeditor.min.js"></script>

WYMeditor only works with jQuery 1.1.3.x or greater.

Now, get you a textarea prepared:

<textarea class="wymeditor"><p>Hello, World!</p></textarea>
<input type="submit" class="wymupdate" />

Make sure to include the wymupdate class on your submit buttons.

On ready:

<script>
  $(function() {
    $('.wymeditor').wymeditor();
  });
</script>

More examples can be found here or in your local examples directory.

Contibuting

Read more on contributing.

Copyright

Copyright (c) 2005 - 2011 Jean-Francois Hovinne, Dual licensed under the MIT (MIT-license.txt) and GPL (GPL-license.txt) licenses.