var text = tinymce.activeEditor.getContent();
<p>hi world! (emoticon, and not the code, for example <img src="http://img.img.png"> )</p>
<p>hi world!</p>
<p>hi world!<img src='http://img/smile.png'></p>
relative_urls: true/false
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)