adding images to the ckeditor <p>i want to add image again in the ck editor when i click on button "add gap"</p> <p>here is my code</p> <pre><code>&lt;div class="control-group" align="left" style="float: left" onselect="selectText()"&gt; &lt;textarea name="editor1" id="myTextarea"&gt;&lt;p&gt;please type&lt;img src="img/gap-placeholder.png"/&gt;&lt;/p&gt; &lt;/textarea&gt; &lt;/div&gt; &lt;div style="float: left;margin-left: 5px"&gt; &lt;input type="button" value="Add Gap" onclick="insertText();"/&gt; &lt;/div&gt; </code></pre>