Sha256: a36b29b103475b8906d8691088cc2ec59e5d3f113e337f9a2a5c251ab15c9483
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File Name: * 01-basic.html * WYMeditor integration example. * See the documentation for more info. * * File Authors: * Jean-Francois Hovinne - http://www.hovinne.com/ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>WYMeditor</title> <!-- jQuery library is required, see http://jquery.com/ --> <script type="text/javascript" src="../jquery/jquery.js"></script> <!-- WYMeditor main JS file, minified version --> <script type="text/javascript" src="../wymeditor/jquery.wymeditor.min.js"></script> <script type="text/javascript"> /* Here we replace each element with class 'wymeditor' * (typically textareas) by a WYMeditor instance. * * We could use the 'html' option, to initialize the editor's content. * If this option isn't set, the content is retrieved from * the element being replaced. */ jQuery(function() { jQuery('.wymeditor').wymeditor(); }); </script> </head> <body> <h1>WYMeditor integration example</h1> <p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p> <form method="post" action=""> <textarea class="wymeditor"><p>Hello, World!</p></textarea> <input type="submit" class="wymupdate" /> </form> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wymeditor-0.5.0.rc2 | public/javascripts/wymeditor/examples/01-basic.html |