Example demonstrates how to access
HTML Editor's content at current selection/caret position from "outside" component.
Example code
<script type="text/JavaScript">function ExecCommand(){ oboutGetEditor('editor').ExecCommand('forecolor','#0000FF'); if(!oboutGetEditor('editor').QueryCommand('bold')) oboutGetEditor('editor').ExecCommand('bold');}</script>
<input type="button" onclick="ExecCommand();" value="Make selected text BOLD BLUE"/>
<ed:Editor id="editor" runat="server" />