I need to integrate ckfinder with ckeditor in asp.net pages but I don't want to use this method mentioned in the docs
because I'll have the editor in many pages and I don't want to repeat this code in all pages also the editors will be inside FormView controls where there will be two editors one in the InsertItemTemplate and other in the EditItemTemplate and I can't bind both in the page load. Is there a global way I can integrate the ckfinder with all ckeditors in the website?
I found in the docs in the Javascript integration those two lines
saying that passing null will integrate the ckfinder with all ckeditor instances, I don't know is this possible with ASP.NET and where should I put those lines and the replace line what does it do?
Thanks in advance.
protected override void OnLoad( EventArgs e ) { CKFinder.FileBrowser _FileBrowser = new CKFinder.FileBrowser(); _FileBrowser.BasePath = "/ckfinder/"; _FileBrowser.SetupCKEditor( CKEditor1 ); }
because I'll have the editor in many pages and I don't want to repeat this code in all pages also the editors will be inside FormView controls where there will be two editors one in the InsertItemTemplate and other in the EditItemTemplate and I can't bind both in the page load. Is there a global way I can integrate the ckfinder with all ckeditors in the website?
I found in the docs in the Javascript integration those two lines
CKFinder.setupCKEditor( null, '/ckfinder/' ); var editor = CKEDITOR.replace( 'editor1' );
saying that passing null will integrate the ckfinder with all ckeditor instances, I don't know is this possible with ASP.NET and where should I put those lines and the replace line what does it do?
Thanks in advance.
Re: Global ASP.NET Integration
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+