Example demonstrates how to access selected
HTML Editor's content from "outside" component.
Example code
<script type="text/JavaScript">function Surround(){ oboutGetEditor('editor').SurroundHTML("<span style='color:red'>","</span>");}</script>
<input type="button" onclick="Surround();" value="Make selected text RED"/>
<ed:Editor id="editor" runat="server" />