NiceEdit click issue
<p>I have used nicEditor in my winforms by loading a web browser and loading the nicEditor inside it. By default when the editor loaded and after that I click in the middle of the editor the focus doe not go to nicEditor. But if I click right at the start of the editor, focus is set to the editor. Following is my HTML file code.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;script type="text/javascript"&gt;
        var myInstance = "";
        function GetContent() {
            //window.alert(""+myInstance);
            //var content = tinyMCE.get('tinyMceEditor').getContent();
            //content = content.replace("&lt;body&gt;", "&lt;body style=\"font-size:10px;\"&gt;");
            //var content = nicEditors.get('area3').getContent();
            var content = myInstance.instanceById('editor').getContent();
            //window.alert(myInstance.instanceById('editor').getContent());
            return content;
        }
        function SetContent(htmlContent) {
            setTimeout(function () {
                //window.alert(htmlContent);
                //nicEditors.get('area3').setContent(htmlContent);
                myInstance.instanceById('editor').setContent(htmlContent);

                if (htmlContent == undefined || htmlContent == '')
                    myInstance.instanceById('editor').setContent('');

                //tinyMCE.get('tinyMceEditor').readOnly = true;
            }, 100);
        }     
    &lt;/script&gt;
   &lt;script type="text/javascript" src="jscripts/nicEdit.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;

        bkLib.onDomLoaded(function () {
            //myInstance = new nicEditor().panelInstance('editor');
            myInstance = new nicEditor({ maxHeight: 388 }).panelInstance('editor');

            //nicEditors.allTextAreas() 
        });
&lt;/script&gt;
&lt;/head&gt;
&lt;body style="margin-top: 0px; margin-left: 0px;"&gt;
    &lt;div id="sample"&gt;
        &lt;textarea id="demo" cols="50" id="editor" name="editor" style="width:295px;" &gt;
        &lt;/textarea&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Please help.</p>