/* * Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Text.RegularExpressions; using System.Globalization; using System.Runtime.InteropServices; using System.Collections.Specialized; namespace CKEditor.NET { [DefaultProperty("Text")] [ToolboxData("<{0}:CKEditorControl runat=server>")] [ParseChildren(false)] [Designer("CKEditor.NET.CKEditorControlDesigner")] public class CKEditorControl : TextBox, IPostBackDataHandler { #region Changed TextBox Property [Bindable(true)] [Category("CKEditor Basic Settings")] [DefaultValue("")] public override string Text { get { return base.Text; } set { base.Text = value; } } public override TextBoxMode TextMode { get { return base.TextMode; } } [Description("If true, makes the editor start in read-only state. Otherwise, it will check if the linked