首页  >  文章  >  web前端  >  [转]OBOUT ASP.NET HTML Editor

[转]OBOUT ASP.NET HTML Editor

WBOY
WBOY原创
2016-06-24 11:35:49962浏览

本文转自:http://www.obout.com/editor_new/sample_InsertHTML.aspx

Example demonstrates how to access HTML Editor's content at current selection/caret position from "outside" component.

Example code

<script type="text/JavaScript">function Insert(){ oboutGetEditor('editor').InsertHTML("<a href='mailto://support@obout.com'>Obout support</a>");}</script> <input type="button" onclick="Insert();" value="Insert Obout support link"/>  <ed:Editor id="editor" runat="server" /> 

 

具体实例效果见 http://www.obout.com/editor_new/sample_InsertHTML.aspx

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn