<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Ruby on Rails, JRuby, AWS, EC2, Exalead - Choosing a simple, lightweight WYSIWYG editor Comments</title>
  <id>tag:thewebfellas.com,2010:/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
  <updated>2010-07-16T22:05:47Z</updated>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:16480</id>
    <published>2010-07-16T22:05:47Z</published>
    <updated>2010-07-16T22:05:47Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Rob Anderton</title>
<content type="html">&lt;p&gt;@wout: looks very nice, the UI (especially for headings) is miles better than widgEditor. We've also been using &lt;a href=&quot;http://www.upian.com/upiansource/ueditor/en&quot; title=&quot;Check out uEditor&quot;&gt;uEditor&lt;/a&gt; recently, a port of widgEditor for jQuery which is our current Javascript framework of choice. Now if someone can do a jQuery version of yours I'll be very happy :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Wout</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:16156</id>
    <published>2010-06-24T20:00:23Z</published>
    <updated>2010-06-24T20:00:23Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Wout</title>
<content type="html">&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'm the author and maintainer of the Qutensil (http://qutensil.com) toolset. In a search for a lightweight rich text editor myself I came across this post. For a few years now I'm struggling with this issue. TinyMCE is not so tiny, way too heavy actually. CKEditor is great but not free, WidgEditor is ok but underdeveloped, nicEdit produces horrible HTML and is not really Webkit friendly, and I could go on...&lt;/p&gt;

&lt;p&gt;Your post inspired me to start writing a new editor that is lightweight, Prototype-based, customizable and produces clean output (no &amp;lt;font&gt; tags etc.). It is still in beta but all input is welcome! http://qutensil.com/pages/qtextarea&lt;/p&gt;

&lt;p&gt;We're also working on a Rails gem to make it even easier to use Q.js in your Rails apps.&lt;/p&gt;

&lt;p&gt;Wout&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Subodh D. Choure</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:15233</id>
    <published>2010-05-11T05:59:55Z</published>
    <updated>2010-05-11T05:59:55Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Subodh D. Choure</title>
<content type="html">&lt;p&gt;Hi!
I tried using widgEditor on pages to add new description field for my application.
I followed the steps mentioned here. The editor appears on the page , but unable to add and edit the content. It gives following message :&lt;/p&gt;

&lt;p&gt;&quot;
We're sorry, but something went wrong.&lt;/p&gt;

&lt;p&gt;We've been notified about this issue and we'll take a look at it shortly.
&quot;&lt;/p&gt;

&lt;p&gt;My form is :&lt;/p&gt;

&lt;p&gt;&amp;lt;% form_for(@forum) do |f| %&gt;
  &amp;lt;%= f.error_messages %&gt;&lt;/p&gt;

&lt;p&gt;&lt;p&gt;
    &amp;lt;%= f.label :name %&gt;&lt;br /&gt;
    &amp;lt;%= f.text_field :name %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &amp;lt;%= f.label :description %&gt;&lt;br /&gt;
    &amp;lt;%= f.text_area :description , :rows=&gt;4, :class=&gt;&quot;widgEditor&quot; %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &amp;lt;%= f.label :status %&gt;&lt;br /&gt;
    &amp;lt;%= f.text_field :status %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &amp;lt;%= f.submit 'Create' %&gt;
  &lt;/p&gt;
&amp;lt;% end %&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;%= link&lt;em&gt;to 'Back', forums&lt;/em&gt;path %&gt;&lt;/p&gt;

&lt;p&gt;And the contoller code is :&lt;/p&gt;

&lt;p&gt;def new
    @forum = Forum.new
    @subject = Subject.find(params[:id])
    respond_to do |format|
      format.html # new.html.erb
      format.xml  { render :xml =&gt; @forum }
    end
  end&lt;/p&gt;

&lt;p&gt;# GET /forums/1/edit
  def edit
    @forum = Forum.find(params[:id])
  end&lt;/p&gt;

&lt;p&gt;# POST /forums
  # POST /forums.xml
  def create
    @forum = Forum.new(params[:forum])&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;respond_to do |format|
  if @forum.save
    flash[:notice] = 'Forum was successfully created.'
    format.html { redirect_to(@forum) }
    format.xml  { render :xml =&amp;gt; @forum, :status =&amp;gt; :created, :location =&amp;gt; @forum }
  else
    format.html { render :action =&amp;gt; &quot;new&quot; }
    format.xml  { render :xml =&amp;gt; @forum.errors, :status =&amp;gt; :unprocessable_entity }
  end
end
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;end&lt;/p&gt;

&lt;p&gt;Please help me if somebody had solution for this.
Or write me - subodh.dhruwaraj@gmail.com&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Foton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:11507</id>
    <published>2009-12-08T20:47:50Z</published>
    <updated>2009-12-08T20:47:50Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Foton</title>
<content type="html">&lt;p&gt;To Mohan:
 you have maybe the same error when sending post params .
 Cause is way that widgEditor rename fields.
Solution is on http://www.elctech.com/snippets/-solved-500-internal-server-error-string-not-matched&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:7585</id>
    <published>2009-07-11T22:25:26Z</published>
    <updated>2009-07-11T22:25:26Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Rob Anderton</title>
<content type="html">&lt;p&gt;Yep, it doesn't seem to do anything with dimensions. I think there's an issue tracker for it on Google code, so it might be worth posting on there.&lt;br /&gt;Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Ray Parker</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:6960</id>
    <published>2009-06-29T19:24:41Z</published>
    <updated>2009-06-29T19:24:41Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Ray Parker</title>
<content type="html">&lt;p&gt;cols and rows (or size) don't seem to have any effect.  &lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>&#1578;&#1576;&#1604;&#1740;&#1594;&#1575;&#1578;</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:2677</id>
    <published>2008-12-21T02:04:45Z</published>
    <updated>2008-12-21T02:04:45Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by &#1578;&#1576;&#1604;&#1740;&#1594;&#1575;&#1578;</title>
<content type="html">&lt;p&gt;thanks for your great solution.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>dingo</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:2235</id>
    <published>2008-10-31T12:28:02Z</published>
    <updated>2008-10-31T12:28:02Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by dingo</title>
<content type="html">&lt;p&gt;ha,
it works!
thanks.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Alex</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1781</id>
    <published>2008-09-08T03:09:45Z</published>
    <updated>2008-09-08T03:09:45Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Alex</title>
<content type="html">&lt;p&gt;Anyone else find this is interfering with remote&lt;em&gt;form&lt;/em&gt;for? Works fine without, forces a text-render of the update with...&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Don</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1227</id>
    <published>2008-08-07T21:16:08Z</published>
    <updated>2008-08-07T21:16:08Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Don</title>
<content type="html">&lt;p&gt;Rob,&lt;/p&gt;

&lt;p&gt;It worked!  Thanks so much!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1225</id>
    <published>2008-08-07T19:31:16Z</published>
    <updated>2008-08-07T19:31:16Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Rob Anderton</title>
<content type="html">&lt;p&gt;It sounds like you're HTML encoding the text. If you're doing something like this:&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;&amp;lt;%= h(@object.method) %&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then getting rid of the call to &lt;code&gt;h()&lt;/code&gt; should fix it.&lt;/p&gt;

&lt;p&gt;As an aside, if you want to prevent your users from doing anything crazy in their HTML you should take a look at the Rails &lt;a href=&quot;http://rails-doc.org/rails/ActionView/Helpers/SanitizeHelper/sanitize&quot; title=&quot;Sanitze helper documentation&quot;&gt;sanitize&lt;/a&gt; helper.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Don</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1224</id>
    <published>2008-08-07T19:00:28Z</published>
    <updated>2008-08-07T19:00:28Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Don</title>
<content type="html">&lt;p&gt;I am trying to get this to work, but when I look at the &quot;show&quot; view, my text is not formatted as html, but you only see the tags that were added by the wysiwyg.  What did I do wrong?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1165</id>
    <published>2008-07-22T13:12:48Z</published>
    <updated>2008-07-22T13:12:48Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Rob Anderton</title>
<content type="html">&lt;p&gt;I've not had this problem before. I'd be interested to see what the rest of your page template looks like as it may give some clues as to what is going wrong.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Mohan</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1157</id>
    <published>2008-07-19T11:05:04Z</published>
    <updated>2008-07-19T11:05:04Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Mohan</title>
<content type="html">&lt;p&gt;I tried to integrate this editor and everything went well.Editor appeared in the form.but i could not get the value of text area using params.&lt;/p&gt;

&lt;p&gt;This is my code
text area in the form
&amp;lt;%= text_area 'blog', 'description', :cols =&gt; 25, :rows =&gt; 3, :class=&gt; &quot;widgEditor&quot;%&gt;&lt;/p&gt;

&lt;p&gt;when i submit the form. i could not get the value of description.Actually params[:description] is not passed.Anybody have faced this problem.&lt;/p&gt;

&lt;p&gt;let me know&lt;/p&gt;

&lt;p&gt;Thanks,
Mohan&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob Anderton</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1105</id>
    <published>2008-07-01T13:24:05Z</published>
    <updated>2008-07-01T13:24:05Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by Rob Anderton</title>
<content type="html">&lt;p&gt;Hi amy,&lt;/p&gt;

&lt;p&gt;Looking at the code it seemed like something like this would work:&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;javascript&quot;&gt;document.getElementById('text_field_id').value = 'hello!'; 
widgEditor.refreshDisplay();&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But this obviously won't work because there is no way of accessing a widgEditor once it has been created.&lt;/p&gt;

&lt;p&gt;You might want to try the solution posted by tpbriano on the &lt;a href=&quot;http://code.google.com/p/widgeditor/issues/detail?id=1&quot; title=&quot;View a solution&quot;&gt;widgEditor issue tracker&lt;/a&gt;, it uses an array to keep track of individual widgEditors and provides a function to update the content of a specific widgEditor.&lt;/p&gt;

&lt;p&gt;Hope that helps,&lt;br /&gt;Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>amy</name>
    </author>
    <id>tag:thewebfellas.com,2008-04-08:818:1074</id>
    <published>2008-06-26T15:22:48Z</published>
    <updated>2008-06-26T15:22:48Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2008/4/8/choosing-a-simple-lightweight-wysiwyg-editor" rel="alternate" type="text/html"/>
    <title>Comment on 'Choosing a simple, lightweight WYSIWYG editor' by amy</title>
<content type="html">&lt;p&gt;do you know how to change the displayed text within the textarea once the form is displayed. (just show different texts in one textarea, no submit) 
i try to replace the text.value but this is not enough (too simple).
Once the right text is accepted by the user (found) it can be changed interactive (editor).&lt;/p&gt;</content>  </entry>
</feed>
