I used the init event in my plugin to catch the appropriate editor:
init: function (editor) { var contextParams = '&ClassName=' + editor.config.TemplateFieldsClassName; }
That way i get the asp.net code setting: CKEditor.NET.CKEditorConfig.GlobalConfig.ExtraOptions["TemplateFieldsClassName"] = MappedObjectTemplate.ClassName;
Re: getting CKEditor.NET ExtraOptions from Javascript?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: getting CKEditor.NET ExtraOptions from Javascript?
I used the init event in my plugin to catch the appropriate editor:
init: function (editor) {
var contextParams = '&ClassName=' + editor.config.TemplateFieldsClassName;
}
That way i get the asp.net code setting:
CKEditor.NET.CKEditorConfig.GlobalConfig.ExtraOptions["TemplateFieldsClassName"] = MappedObjectTemplate.ClassName;