Hi there fredck
I have not loged on for ages, and noticed you asked for me to post my fkeditor asp.net web part code. (c# class file)
i have got it working in the editor zone as well. do you still want the code.
if so just ask i dont mind passing it over.
Thanks Karl.
(pissed pat).....
Rough Guide.
when you create a web part class file, override the editor zone and implemet your own function there. just like adding a text box to editor zone, just add fck editor instead and it all works fine.
Then you will get the sharepoint feel of things......
I have not loged on for ages, and noticed you asked for me to post my fkeditor asp.net web part code. (c# class file)
i have got it working in the editor zone as well. do you still want the code.
if so just ask i dont mind passing it over.
Thanks Karl.
(pissed pat).....
Rough Guide.
when you create a web part class file, override the editor zone and implemet your own function there. just like adding a text box to editor zone, just add fck editor instead and it all works fine.
Then you will get the sharepoint feel of things......

Re: Fro attention of fredck (FCKeditor web part)
CLAdev site
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Fro attention of fredck (FCKeditor web part)
http://dev.fckeditor.net/
using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Security.Permissions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using FredCK.FCKeditorV2; namespace SharepointUK.TextEditor { [AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class TextDisplayWebPart : WebPart { private String _contentText = "add content here"; Label DisplayContent; Literal lineBreak; public override EditorPartCollection CreateEditorParts() { ArrayList editorArray = new ArrayList(); TextDisplayEditorPart edPart = new TextDisplayEditorPart(); edPart.ID = this.ID + "_editorPart1"; editorArray.Add(edPart); EditorPartCollection editorParts = new EditorPartCollection(editorArray); return editorParts; } public override object WebBrowsableObject { get { return this; } } [Personalizable(), WebBrowsable] public String ContentText { get { return _contentText; } set { _contentText = value; } } protected override void CreateChildControls() { Controls.Clear(); DisplayContent = new Label(); DisplayContent.Text = this.ContentText; this.Controls.Add(DisplayContent); } [AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Minimal)] private class TextDisplayEditorPart : EditorPart { FCKeditor _contentToEdit; public override bool ApplyChanges() { TextDisplayWebPart part = (TextDisplayWebPart)WebPartToEdit; part._contentText = _contentToEdit.Value; return true; } public override void SyncChanges() { TextDisplayWebPart part = (TextDisplayWebPart)WebPartToEdit; } protected override void CreateChildControls() { Controls.Clear(); _contentToEdit = new FCKeditor(); _contentToEdit.BasePath = "~/fckeditor/"; this.Controls.Add(_contentToEdit); } protected override void RenderContents(HtmlTextWriter writer) { _contentToEdit.RenderControl(writer); writer.WriteBreak(); } } } }Re: Fro attention of fredck (FCKeditor web part)
http://dev.fckeditor.net/wiki/cla
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Fro attention of fredck (FCKeditor web part)
http://msdn.microsoft.com/en-us/library ... table.aspx
Notes to intrested parties.....
http://quickstarts.asp.net/QuickStartv2 ... fault.aspx
Pitfalls
http://msdn.microsoft.com/en-us/library/ms178183(VS.85
http://msdn.microsoft.com/en-us/library ... ation.aspx
http://msdn.microsoft.com/en-us/magazine/cc300767.aspx
Re: Fro attention of fredck (FCKeditor web part)
I hadn't seen this post and I'm not able (at present) to work on webparts, only the Sharepoint theme.
Fortunately, I have a Javascript file inserted in the page along with the theme and I've just finished updating it to overwrite the MS Javascript functions for the Rich Text Editor.
Now calling the CKEditor in a light box type view, my only gripe so far is it's a little slow to load the toolbar images - I'm reviewing v3.2.1 now to see if it's any better.
Next I want to make sure the CKEditor is loading everywhere is should be, I noticed a query webpart was loading a floating Rich Text Editor toolbar (MS), not sure if I can do the same or similar with CKEditor...
Thanks again, great and useful post!
Ryan