<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wysi-what? Wysihat Part II</title>
	<atom:link href="http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/</link>
	<description>Through the Eyes of a Dork</description>
	<lastBuildDate>Thu, 16 Dec 2010 13:14:18 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Raghavan</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-34914</link>
		<dc:creator>Raghavan</dc:creator>
		<pubDate>Thu, 16 Dec 2010 13:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-34914</guid>
		<description>Shep, here is how I have solved this (if you still haven&#039;t figured it out) 

My textarea looks like this









And the submit_form function will look like this:

function submit_form(form_obj) {
 $(&#039;content&#039;).innerHTML = editor.innerHTML; 
 form_obj.submit();
}

where editor is a global variable in which the WysiHat.Editor object is stored (refer the code below)
editor = WysiHat.Editor.attach(&#039;content&#039;);

I am not sure if this is the right way to do it, but this works.</description>
		<content:encoded><![CDATA[<p>Shep, here is how I have solved this (if you still haven&#8217;t figured it out) </p>
<p>My textarea looks like this</p>
<p>And the submit_form function will look like this:</p>
<p>function submit_form(form_obj) {<br />
 $(&#8216;content&#8217;).innerHTML = editor.innerHTML;<br />
 form_obj.submit();<br />
}</p>
<p>where editor is a global variable in which the WysiHat.Editor object is stored (refer the code below)<br />
editor = WysiHat.Editor.attach(&#8216;content&#8217;);</p>
<p>I am not sure if this is the right way to do it, but this works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shep</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-34898</link>
		<dc:creator>Shep</dc:creator>
		<pubDate>Wed, 02 Jun 2010 17:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-34898</guid>
		<description>I know this post hasn&#039;t been updated in a while, but does anyone have an example of binding the contents to a the form field.  I tried the suggested &quot;editor.save()&quot;, but I get &quot;editor.save is not a function&quot;</description>
		<content:encoded><![CDATA[<p>I know this post hasn&#8217;t been updated in a while, but does anyone have an example of binding the contents to a the form field.  I tried the suggested &#8220;editor.save()&#8221;, but I get &#8220;editor.save is not a function&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viola</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-34889</link>
		<dc:creator>Viola</dc:creator>
		<pubDate>Tue, 04 May 2010 22:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-34889</guid>
		<description>How to I set WysiHat to produce xhtml output? Is that a configuration option?</description>
		<content:encoded><![CDATA[<p>How to I set WysiHat to produce xhtml output? Is that a configuration option?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-33557</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 27 Mar 2009 02:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-33557</guid>
		<description>No, you can&#039;t do that out of the box.</description>
		<content:encoded><![CDATA[<p>No, you can&#8217;t do that out of the box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NeXT</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-33479</link>
		<dc:creator>NeXT</dc:creator>
		<pubDate>Tue, 03 Mar 2009 12:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-33479</guid>
		<description>Hi, I have a question on customization of wysihat. How can I process tab and shift-tab(and backspace) to insert/remove
 for indenration on and off?</description>
		<content:encoded><![CDATA[<p>Hi, I have a question on customization of wysihat. How can I process tab and shift-tab(and backspace) to insert/remove<br />
 for indenration on and off?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://jrmehle.com/2009/02/13/wysiwhat-wysihat-part-2/comment-page-1/#comment-33458</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 26 Feb 2009 05:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://jrmehle.com/?p=520#comment-33458</guid>
		<description>Problem solved: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/ebca93a1cdc6922f</description>
		<content:encoded><![CDATA[<p>Problem solved: <a href="http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/ebca93a1cdc6922f" rel="nofollow">http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/ebca93a1cdc6922f</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

