User1487175000 posted
Hi,
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'
});
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
<div>
<CKEditor:CKEditorControl ID="ckeditor" runat="server"></CKEditor:CKEditorControl>
</div>
</asp:Content>
/