Home  >  Article  >  Web Front-end  >  [转]OBOUT ASP.NET HTML Editor

[转]OBOUT ASP.NET HTML Editor

WBOY
WBOYOriginal
2016-06-24 11:35:49962browse

本文转自: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

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn