PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/widgets/TextBox/edit.ascx

#
ASP.NET | 28 lines | 24 code | 4 blank | 0 comment | 0 complexity | 85e11b30231efee306fc74ef4e7f82ee MD5 | raw file
 1<%@ Control Language="C#" AutoEventWireup="true" CodeFile="edit.ascx.cs" Inherits="Widgets.TextBox.Edit" %>
 2<%@ Import Namespace="BlogEngine.Core" %>
 3
 4<script type="text/javascript" src="<%=Utils.RelativeWebRoot %>editors/tiny_mce_3_4_3_1/tiny_mce.js"></script>
 5<script type="text/javascript">
 6	tinyMCE.init({
 7		// General options
 8		mode: "exact",
 9		elements : "<%=txtText.ClientID %>",
10		theme: "advanced",
11		plugins: "inlinepopups,fullscreen,contextmenu,emotions,table,iespell",
12		convert_urls: false,
13	  
14	  // Theme options
15		theme_advanced_buttons1: "fullscreen,code,|,cut,copy,paste,|,undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,|,iespell,link,unlink,sub,sup,removeformat,cleanup,charmap,emotions",
16		theme_advanced_buttons2: "",
17		theme_advanced_toolbar_location: "top",
18		theme_advanced_toolbar_align: "left",
19		theme_advanced_statusbar_location: "bottom",
20		theme_advanced_resizing: true,
21		theme_advanced_source_editor_height: 425,
22		gecko_spellcheck : true,
23		
24		tab_focus : ":prev,:next"
25	});
26</script>
27
28<asp:TextBox runat="server" ID="txtText" TextMode="multiLine" Columns="100" Rows="10" style="width:700px;height:372px" /><br />