首頁  >  文章  >  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