<?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: This is Me Professing My Love for jQuery and How I Got CKEditor Working with jEditable</title>
	<atom:link href="http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/</link>
	<description>Websites that rock</description>
	<lastBuildDate>Fri, 20 Jan 2012 12:06:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: AVGP</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-31</link>
		<dc:creator>AVGP</dc:creator>
		<pubDate>Fri, 20 Jan 2012 12:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-31</guid>
		<description>@john: I had the same problem and after googling a while I - by sheer luck - found the issue:
You need to specify
onblur: &quot;ignore&quot;
on your code. Leaving it out or setting it to &quot;cancel&quot; will cause the editor to disappear when being clicked.</description>
		<content:encoded><![CDATA[<p>@john: I had the same problem and after googling a while I &#8211; by sheer luck &#8211; found the issue:<br />
You need to specify<br />
onblur: &#8220;ignore&#8221;<br />
on your code. Leaving it out or setting it to &#8220;cancel&#8221; will cause the editor to disappear when being clicked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-28</link>
		<dc:creator>john</dc:creator>
		<pubDate>Fri, 12 Aug 2011 07:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-28</guid>
		<description>Thanks for a great plugin, but i have a problem.

The ckeditor is displayed, but the moment i click inside the editor it is destroyed.
Another thing i noticed was that if  i click a button and try to edit the text it is getting edited.

Could you tell me why is this happening?</description>
		<content:encoded><![CDATA[<p>Thanks for a great plugin, but i have a problem.</p>
<p>The ckeditor is displayed, but the moment i click inside the editor it is destroyed.<br />
Another thing i noticed was that if  i click a button and try to edit the text it is getting edited.</p>
<p>Could you tell me why is this happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-27</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Tue, 26 Apr 2011 11:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-27</guid>
		<description>Jonathan, you hopefully found a solution by now, but others might like to know how to use custom ckeditor settings with this great plugin for jeditable.
I got it working using the code below:

    $(&quot;#mydiv&quot;).editable(&quot;http://www.url.net/&quot;, { 
        type      : &quot;ckeditor&quot;,
        submit    : &#039;OK&#039;,
        cancel    : &#039;cancel&#039;,
        tooltip   : &quot;Click to edit...&quot;,
        onblur    : &quot;ignore&quot;,
        ckeditor : {
			toolbar:  
			[  
			  [&#039;Source&#039;,&#039;Maximize&#039;],  
			  [&#039;Undo&#039;,&#039;Redo&#039;],  
			  [&#039;Link&#039;,&#039;Unlink&#039;,&#039;Image&#039;,&#039;SpecialChar&#039;]  
			],  
			height: 260,  
			startupFocus: true
        }
    });</description>
		<content:encoded><![CDATA[<p>Jonathan, you hopefully found a solution by now, but others might like to know how to use custom ckeditor settings with this great plugin for jeditable.<br />
I got it working using the code below:</p>
<p>    $(&#8220;#mydiv&#8221;).editable(&#8220;http://www.url.net/&#8221;, {<br />
        type      : &#8220;ckeditor&#8221;,<br />
        submit    : &#8216;OK&#8217;,<br />
        cancel    : &#8216;cancel&#8217;,<br />
        tooltip   : &#8220;Click to edit&#8230;&#8221;,<br />
        onblur    : &#8220;ignore&#8221;,<br />
        ckeditor : {<br />
			toolbar:<br />
			[<br />
			  ['Source','Maximize'],<br />
			  ['Undo','Redo'],<br />
			  ['Link','Unlink','Image','SpecialChar']<br />
			],<br />
			height: 260,<br />
			startupFocus: true<br />
        }<br />
    });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-26</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 29 Mar 2011 20:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-26</guid>
		<description>So I understand now that I should retrieve the editor from CKEDITOR.instances[] but if I try with the id generated (jq$0 by exemple, it is not working. Could you help me ?</description>
		<content:encoded><![CDATA[<p>So I understand now that I should retrieve the editor from CKEDITOR.instances[] but if I try with the id generated (jq$0 by exemple, it is not working. Could you help me ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-25</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 29 Mar 2011 14:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-25</guid>
		<description>This plugin is great but I have a problem with the config.
How can I replace the default config of the ckeditor with your plugin ?

I try with a lot of configuration but I receive an error message.

I try CKEDITOR.replace(myelement, {customConfig:myconfig}) by exemple. But it&#039;s not working.

Thanks a lot</description>
		<content:encoded><![CDATA[<p>This plugin is great but I have a problem with the config.<br />
How can I replace the default config of the ckeditor with your plugin ?</p>
<p>I try with a lot of configuration but I receive an error message.</p>
<p>I try CKEDITOR.replace(myelement, {customConfig:myconfig}) by exemple. But it&#8217;s not working.</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-23</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Mon, 13 Sep 2010 17:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-23</guid>
		<description>actually, the id part should read:       

id: id-&gt;EditValue ? &gt;,</description>
		<content:encoded><![CDATA[<p>actually, the id part should read:       </p>
<p>id: id-&gt;EditValue ? &gt;,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-22</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Mon, 13 Sep 2010 16:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-22</guid>
		<description>Jeremy, I&#039;ve changed it a bit, will this work?

$(function() {
        
  $(&quot;.editable_textarea&quot;).editable(&quot;test.php&quot;, { 
      indicator : &quot;&quot;,
      type   : &#039;textarea&#039;,
      id: id-&gt;EditValue ?&gt;,
      submitdata: { _method: &quot;put&quot; },
      select : true,
      submit : &#039;OK&#039;,
      cancel : &#039;cancel&#039;,
      cssclass : &quot;editable&quot;
  });

 
});

This section: grabs the record id. Will it submit to test.php?</description>
		<content:encoded><![CDATA[<p>Jeremy, I&#8217;ve changed it a bit, will this work?</p>
<p>$(function() {</p>
<p>  $(&#8220;.editable_textarea&#8221;).editable(&#8220;test.php&#8221;, {<br />
      indicator : &#8220;&#8221;,<br />
      type   : &#8216;textarea&#8217;,<br />
      id: id-&gt;EditValue ?&gt;,<br />
      submitdata: { _method: &#8220;put&#8221; },<br />
      select : true,<br />
      submit : &#8216;OK&#8217;,<br />
      cancel : &#8216;cancel&#8217;,<br />
      cssclass : &#8220;editable&#8221;<br />
  });</p>
<p>});</p>
<p>This section: grabs the record id. Will it submit to test.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-21</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Mon, 13 Sep 2010 14:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-21</guid>
		<description>Jeremy, thanks for the quick response. I have this in the 





 
 
$(function() {
        
  $(&quot;.editable_textarea&quot;).editable(&quot;test.php&quot;, { 
      indicator : &quot;&quot;,
      type   : &#039;textarea&#039;,
      submitdata: { _method: &quot;put&quot; },
      select : true,
      submit : &#039;OK&#039;,
      cancel : &#039;cancel&#039;,
      cssclass : &quot;editable&quot;
  });

 
});
 

I think that is correct, jeditable works, but CKEditor does not initialize. As for posting, What I want this for is an edit only page. my test.php page looks like this:

include &quot;config.php&quot;;
var $id = ;
var $textareavalue = $_REQUEST[&quot;&quot;];
$query = mysql_query(&quot;UPDATE ckdata SET text2=&#039;$textareavalue&#039; where&quot;);

My problem is I don&#039;t know the id or name of the textarea jeditable creates. Also I need to capture the id of the current page being edited. Any help is appreciated.</description>
		<content:encoded><![CDATA[<p>Jeremy, thanks for the quick response. I have this in the </p>
<p>$(function() {</p>
<p>  $(&#8220;.editable_textarea&#8221;).editable(&#8220;test.php&#8221;, {<br />
      indicator : &#8220;&#8221;,<br />
      type   : &#8216;textarea&#8217;,<br />
      submitdata: { _method: &#8220;put&#8221; },<br />
      select : true,<br />
      submit : &#8216;OK&#8217;,<br />
      cancel : &#8216;cancel&#8217;,<br />
      cssclass : &#8220;editable&#8221;<br />
  });</p>
<p>});</p>
<p>I think that is correct, jeditable works, but CKEditor does not initialize. As for posting, What I want this for is an edit only page. my test.php page looks like this:</p>
<p>include &#8220;config.php&#8221;;<br />
var $id = ;<br />
var $textareavalue = $_REQUEST[""];<br />
$query = mysql_query(&#8220;UPDATE ckdata SET text2=&#8217;$textareavalue&#8217; where&#8221;);</p>
<p>My problem is I don&#8217;t know the id or name of the textarea jeditable creates. Also I need to capture the id of the current page being edited. Any help is appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Bell</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-20</link>
		<dc:creator>Jeremy Bell</dc:creator>
		<pubDate>Thu, 09 Sep 2010 17:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-20</guid>
		<description>@qamar - You can set the width and height when calling CKEDITOR.replace(). Just include the values you want in the parameters array like this: CKEDITOR.replace(element_id, {width:500, height:500});

@Tommy - Sounds like CKEDITOR is not being initialized. I won&#039;t be able to help much without a specific example. As for how you post submitted form data back into a database, all I can say is it really depends on what you are trying to do. Sounds like you might need to explore how to access your database from PHP.</description>
		<content:encoded><![CDATA[<p>@qamar &#8211; You can set the width and height when calling CKEDITOR.replace(). Just include the values you want in the parameters array like this: CKEDITOR.replace(element_id, {width:500, height:500});</p>
<p>@Tommy &#8211; Sounds like CKEDITOR is not being initialized. I won&#8217;t be able to help much without a specific example. As for how you post submitted form data back into a database, all I can say is it really depends on what you are trying to do. Sounds like you might need to explore how to access your database from PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-19</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Thu, 09 Sep 2010 16:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-19</guid>
		<description>I&#039;m trying to integrate this, but I&#039;m having... issues. For one, All I am getting is the standard textarea without ckeditor integration. 2nd, and my larger problem, is how do i then post this back to the database? 

forgive the noob questions, but I really want to understand this.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to integrate this, but I&#8217;m having&#8230; issues. For one, All I am getting is the standard textarea without ckeditor integration. 2nd, and my larger problem, is how do i then post this back to the database? </p>
<p>forgive the noob questions, but I really want to understand this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/comment-page-1/#comment-18</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Tue, 06 Jul 2010 16:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.amps211.com/?p=45#comment-18</guid>
		<description>very nice!

One thing I&#039;d like to add is, that I had to remove

onblur:&#039;cancel&#039;,

from the jquery.jeditable.mini.js, because it kept closing the editor when a popup within ckeditor opened like the &quot;Image&quot; popup.</description>
		<content:encoded><![CDATA[<p>very nice!</p>
<p>One thing I&#8217;d like to add is, that I had to remove</p>
<p>onblur:&#8217;cancel&#8217;,</p>
<p>from the jquery.jeditable.mini.js, because it kept closing the editor when a popup within ckeditor opened like the &#8220;Image&#8221; popup.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

