<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - How to programmatically add text at the end of textarea]]></title>
		<link>http://www.tinymce.com/forum/viewtopic.php?id=28857</link>
		<description><![CDATA[The most recent posts in How to programmatically add text at the end of textarea.]]></description>
		<lastBuildDate>Fri, 25 May 2012 13:25:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to programmatically add text at the end of textarea]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=101360#p101360</link>
			<description><![CDATA[<p>Thank you!<br />Works like a charm!</p>]]></description>
			<author><![CDATA[dummy@example.com (nejko15)]]></author>
			<pubDate>Fri, 25 May 2012 13:25:40 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=101360#p101360</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to programmatically add text at the end of textarea]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=101336#p101336</link>
			<description><![CDATA[<p>tinymce.activeEditor.getBody().appendChild(tinymce.activeEditor.dom.create(&#039;div&#039;, {}, &#039;&lt;b&gt;HELLO&lt;/b&gt;&#039;));</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Thu, 24 May 2012 15:30:41 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=101336#p101336</guid>
		</item>
		<item>
			<title><![CDATA[How to programmatically add text at the end of textarea]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=101334#p101334</link>
			<description><![CDATA[<p>Hello!</p><p>I am trying to build a plugin that would add text at the end of the textarea. Let&#039;s say the plugin will add: <strong>Author: [Authorname]</strong><br />I would like to make it so that the text is always added at the end of the input. <br />So even if the user is still writing, I would like to place the Author at the end of what he&#039;s writing. I&#039;m currently using:<br /></p><div class="codebox"><pre><code>..... Event that fires the code ....
 tinyMCE.execInstanceCommand(&quot;content&quot;, &quot;mceInsertContent&quot;, false, &quot;&lt;div style=&#039;width: 100%;&#039;&gt;&lt;br /&gt; &lt;br /&gt; &lt;hr /&gt; &lt;h3 align=&#039;center&#039;&gt;Author name: &quot;+author.name+&quot;&lt;/h3&gt; &lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&quot;)</code></pre></div><p>This does not add the text at the end. It adds it in front of the content.<br />Is it possible to place the autor at the end?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (nejko15)]]></author>
			<pubDate>Thu, 24 May 2012 13:35:39 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=101334#p101334</guid>
		</item>
	</channel>
</rss>
