How to override ckeditor default configure on a specific page. RRS feed

  • Question

  • User1487175000 posted


    I want to override default ckeditor configure on a specific page. However i tried with the following code but it does not work for me. also get the following error.

    Cannot read property 'getEditor' of undefined
    <%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="testCKEditor.aspx.cs" Inherits="testCKEditor" %>
    <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
        <script type="text/javascript">
            $(document).ready(function () {
                CKEDITOR.replace('ckeditor', {
                    customConfig: '/customConfiguration/config.js'
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
            <CKEditor:CKEditorControl ID="ckeditor" runat="server"></CKEditor:CKEditorControl>


    Thursday, August 11, 2016 12:09 PM


  • User61956409 posted

    Hi shahid.majeed,

    Please make sure if you define custom configuration file first, and you could read the following API documentation to know how to use a custom configuration file.


    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 12, 2016 7:38 AM