<?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: Introducing WysiHat Engine</title>
	<atom:link href="http://www.80beans.com/2009/10/01/wysihat-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.80beans.com/2009/10/01/wysihat-engine/</link>
	<description></description>
	<lastBuildDate>Fri,  4 Dec 2009 08:53:32 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: xain</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-2068</link>
		<dc:creator>xain</dc:creator>
		<pubDate>Fri, 04 Dec 2009 08:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-2068</guid>
		<description>I want a image insert button ( Insert an image with url), how can I add it?</description>
		<content:encoded><![CDATA[<p>I want a image insert button ( Insert an image with url), how can I add it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy Tomeij</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1848</link>
		<dc:creator>Roy Tomeij</dc:creator>
		<pubDate>Mon, 05 Oct 2009 07:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1848</guid>
		<description>@Santiago: WysiHat  was created on top of Prototype. Although it would certainly be great to be able to use it with other JS frameworks (or none at all), it&#039;s outside of the scope of this project. We would be happy to implement support for non-Prototype based WysiHat forks in our engine though.</description>
		<content:encoded><![CDATA[<p>@Santiago: WysiHat  was created on top of Prototype. Although it would certainly be great to be able to use it with other JS frameworks (or none at all), it&#8217;s outside of the scope of this project. We would be happy to implement support for non-Prototype based WysiHat forks in our engine though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santiago Pastorino</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1847</link>
		<dc:creator>Santiago Pastorino</dc:creator>
		<pubDate>Sun, 04 Oct 2009 21:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1847</guid>
		<description>I&#039;d like to see a jQuery version or even better an agnostic one</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to see a jQuery version or even better an agnostic one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Kreeftmeijer</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1846</link>
		<dc:creator>Jeff Kreeftmeijer</dc:creator>
		<pubDate>Sat, 03 Oct 2009 17:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1846</guid>
		<description>Hi Clemens,

You&#039;re absolutely right and I&#039;m planning on doing that. At first, the javascript code needed was pretty small so I put it inline. But as I added helpers it grew.

Expect a fix &lt;em&gt;very&lt;/em&gt; soon and thanks for pointing it out!

&lt;strong&gt;Update – October 3, 9:39 PM&lt;/strong&gt;

We just pushed a new version of the gem. It has a file called wysihat_engine.js which holds most of the javascript that was inline (except for the addButton() calls). :)
</description>
		<content:encoded><![CDATA[<p>Hi Clemens,</p>
<p>You&#8217;re absolutely right and I&#8217;m planning on doing that. At first, the javascript code needed was pretty small so I put it inline. But as I added helpers it grew.</p>
<p>Expect a fix <em>very</em> soon and thanks for pointing it out!</p>
<p><strong>Update – October 3, 9:39 PM</strong></p>
<p>We just pushed a new version of the gem. It has a file called wysihat_engine.js which holds most of the javascript that was inline (except for the addButton() calls). :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy Tomeij</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1845</link>
		<dc:creator>Roy Tomeij</dc:creator>
		<pubDate>Sat, 03 Oct 2009 17:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1845</guid>
		<description>@Clemens: You are absolutely right. I must admit that we haven&#039;t had a good look at the front-end yet, and we should definitely do that on a short term.</description>
		<content:encoded><![CDATA[<p>@Clemens: You are absolutely right. I must admit that we haven&#8217;t had a good look at the front-end yet, and we should definitely do that on a short term.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clemens Kofler</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1844</link>
		<dc:creator>Clemens Kofler</dc:creator>
		<pubDate>Sat, 03 Oct 2009 17:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1844</guid>
		<description>While I love that you picked up Josh&#039; work on WysiHat, I&#039;d love to see this be more unobtrusive - that inline JS just looks scary as hell. Why not make it unobtrusive by just adding a :class =&gt; &#039;wysiwyg&#039; to the textarea and handle the rest in JS? Or am I missing something?</description>
		<content:encoded><![CDATA[<p>While I love that you picked up Josh&#8217; work on WysiHat, I&#8217;d love to see this be more unobtrusive &#8211; that inline JS just looks scary as hell. Why not make it unobtrusive by just adding a :class =&gt; &#8216;wysiwyg&#8217; to the textarea and handle the rest in JS? Or am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael van Rooijen</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1843</link>
		<dc:creator>Michael van Rooijen</dc:creator>
		<pubDate>Sat, 03 Oct 2009 16:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1843</guid>
		<description>@jeff no problem. Thank you!

Regarding the Quote:
I gave you credit for &quot;bringing&quot; the missing editor to us in an elegant, easy to use and robust way!

Cause without the WysiHat Engine I might&#039;ve never looked into WysiHat itself at all! And now I don&#039;t really &quot;have&quot; to thanks to this Engine.

So, thank you for that, my friend! ;)</description>
		<content:encoded><![CDATA[<p>@jeff no problem. Thank you!</p>
<p>Regarding the Quote:<br />
I gave you credit for &#8220;bringing&#8221; the missing editor to us in an elegant, easy to use and robust way!</p>
<p>Cause without the WysiHat Engine I might&#8217;ve never looked into WysiHat itself at all! And now I don&#8217;t really &#8220;have&#8221; to thanks to this Engine.</p>
<p>So, thank you for that, my friend! ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Kreeftmeijer</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1842</link>
		<dc:creator>Jeff Kreeftmeijer</dc:creator>
		<pubDate>Sat, 03 Oct 2009 15:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1842</guid>
		<description>@josh thanks! I&#039;ll be replacing that piece of code to use your sanitize feature!

@michael thanks for your kind words, but the credit for this goes to Joshua Peek: 
&lt;em&gt;“thank you for bringing me “the missing WYSIWYG editor” to us in such an elegant, easy to use and robust way!”&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>@josh thanks! I&#8217;ll be replacing that piece of code to use your sanitize feature!</p>
<p>@michael thanks for your kind words, but the credit for this goes to Joshua Peek:<br />
<em>“thank you for bringing me “the missing WYSIWYG editor” to us in such an elegant, easy to use and robust way!”</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael van Rooijen</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1837</link>
		<dc:creator>Michael van Rooijen</dc:creator>
		<pubDate>Fri, 02 Oct 2009 22:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1837</guid>
		<description>Nothing but pure brilliance!

A while back I was looking for (asked around twitter, searched through google, even asked Jeff Kreeftmeijer himself for his opinion and suggestions!) to find a good WYSIWYG editor I could repeatedly use without switching back and forth editors per project. (Inconsistency is one of the things I truly hate).

I&#039;ve used a couple of rich text editors, but always found them way to heavy or inflexible and extremely irritating to implement and customize. I prefer keeping all my logic bundled inside my Rails application. By “logic” I mean scripting/programming logic. So having to go into Javascript mode to do all sorts of things to my “text area” to get it working inside a different layer of my application, which does not consist of a single line of Ruby.. No Thanks!

Enter: “WysiHat Engine”.

Giving me a WYSIWYG&#039;d text area by replacing “form.text_area” with “form.wysihat_editor” and, on the same line, telling it what buttons I wish to use? Brilliant! Need image uploading? :buttons =&gt; [:image]. Now, the other part I like, is the fact that this does not come with a whole pre-installed GUI like basically every other WYSIWYG out there. It gets wrapped inside of divs and you get all the flexibility to style the GUI to your web application&#039;s style with ease.

All I can say is thank you for bringing me “the missing WYSIWYG editor” to us in such an elegant, easy to use and robust way!

And all I can do is FORK and SUGGEST!

I would love to see both this “WysiHat Engine” as well as the “WysiHat Javascript Core” evolve over time!</description>
		<content:encoded><![CDATA[<p>Nothing but pure brilliance!</p>
<p>A while back I was looking for (asked around twitter, searched through google, even asked Jeff Kreeftmeijer himself for his opinion and suggestions!) to find a good WYSIWYG editor I could repeatedly use without switching back and forth editors per project. (Inconsistency is one of the things I truly hate).</p>
<p>I&#8217;ve used a couple of rich text editors, but always found them way to heavy or inflexible and extremely irritating to implement and customize. I prefer keeping all my logic bundled inside my Rails application. By “logic” I mean scripting/programming logic. So having to go into Javascript mode to do all sorts of things to my “text area” to get it working inside a different layer of my application, which does not consist of a single line of Ruby.. No Thanks!</p>
<p>Enter: “WysiHat Engine”.</p>
<p>Giving me a WYSIWYG&#8217;d text area by replacing “form.text_area” with “form.wysihat_editor” and, on the same line, telling it what buttons I wish to use? Brilliant! Need image uploading? :buttons =&gt; [:image]. Now, the other part I like, is the fact that this does not come with a whole pre-installed GUI like basically every other WYSIWYG out there. It gets wrapped inside of divs and you get all the flexibility to style the GUI to your web application&#8217;s style with ease.</p>
<p>All I can say is thank you for bringing me “the missing WYSIWYG editor” to us in such an elegant, easy to use and robust way!</p>
<p>And all I can do is FORK and SUGGEST!</p>
<p>I would love to see both this “WysiHat Engine” as well as the “WysiHat Javascript Core” evolve over time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Peek</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/comment-page-1/#comment-1834</link>
		<dc:creator>Joshua Peek</dc:creator>
		<pubDate>Fri, 02 Oct 2009 14:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.80beans.com/?p=235#comment-1834</guid>
		<description>I&#039;ve had sanitization built in from the start to address this problem.

&lt;code&gt;
    // Custom sanitization
    editor.outputFilter = function(text) {
      return text.formatHTMLOutput().sanitize({
        tags: [&#039;span&#039;, &#039;p&#039;, &#039;br&#039;, &#039;strong&#039;, &#039;em&#039;, &#039;a&#039;],
        attributes: [&#039;id&#039;, &#039;href&#039;]
      });
    };

    // Clean up editor on paste
    editor.observe(&quot;wysihat:paste&quot;, function(event) {
      setTimeout(function() {
        event.target.reload();
      }, 1);
    });
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had sanitization built in from the start to address this problem.</p>
<p><code><br />
    // Custom sanitization<br />
    editor.outputFilter = function(text) {<br />
      return text.formatHTMLOutput().sanitize({<br />
        tags: ['span', 'p', 'br', 'strong', 'em', 'a'],<br />
        attributes: ['id', 'href']<br />
      });<br />
    };</p>
<p>    // Clean up editor on paste<br />
    editor.observe("wysihat:paste", function(event) {<br />
      setTimeout(function() {<br />
        event.target.reload();<br />
      }, 1);<br />
    });<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
