<%@ Page Language="C#" AutoEventWireup="true"%> <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %> CKEditor Configuration — CKEditor for ASP.NET Sample

CKEditor for ASP.NET Sample — Configuration

CKEditor is a highly customizable solution. Editor settings can be configured on .aspx page in the following way:

<CKEditor:CKEditorControl ID="CKEditor1" BasePath="~/ckeditor" runat="server" UIColor="#BFEE62" Language="de" EnterMode="BR">
</CKEditor:CKEditorControl>

The configuration can also be placed in the source file:

//Please note that the configuration set in the source file is more important than the one set in tags on the .aspx page.
CKEditor1.config.uiColor = "#BFEE62";
CKEditor1.config.language = "de";
CKEditor1.config.enterMode = EnterMode.BR;