<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KaveriTech Technical Blog &#187; YUI</title>
	<atom:link href="http://techblog.kaveritech.com/category/yui/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.kaveritech.com</link>
	<description>Findings, Tips &#38; Tricks</description>
	<lastBuildDate>Tue, 25 May 2010 12:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YUI: Editor &#8211; setEditorHTML is not working &#8211; Solution</title>
		<link>http://techblog.kaveritech.com/2009/02/07/yui-editor-seteditorhtml-is-not-working-solution/</link>
		<comments>http://techblog.kaveritech.com/2009/02/07/yui-editor-seteditorhtml-is-not-working-solution/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 19:08:48 +0000</pubDate>
		<dc:creator>Satish Natarajan</dc:creator>
				<category><![CDATA[YUI]]></category>
		<category><![CDATA[YUI Editor]]></category>

		<guid isPermaLink="false">http://techblog.kaveritech.com/?p=152</guid>
		<description><![CDATA[While working with YUI Editor, We were trying to set the intial value and we wanted to use the setEditorHTML function. Did not work.
We then figured out you need to wait for the event editorContedLoaded event before trying to set the value &#8211; SOLVED!!
my_editor = new YAHOO.widget.Editor(&#8221;editor_container&#8221;, myconfig);
my_editor.render();
my_editor.on(&#8221;editorContentLoaded&#8221;, function(){
my_editor.setEditorHTML(&#8221;My initial value&#8221;);
});
]]></description>
			<content:encoded><![CDATA[<p>While working with YUI Editor, We were trying to set the intial value and we wanted to use the setEditorHTML function. Did not work.</p>
<p>We then figured out you need to wait for the event editorContedLoaded event before trying to set the value &#8211; SOLVED!!</p>
<p>my_editor = new YAHOO.widget.Editor(&#8221;editor_container&#8221;, myconfig);</p>
<p>my_editor.render();<br />
my_editor.on(&#8221;editorContentLoaded&#8221;, function(){<br />
my_editor.setEditorHTML(&#8221;My initial value&#8221;);<br />
});</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.kaveritech.com/2009/02/07/yui-editor-seteditorhtml-is-not-working-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
