Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

CK Editor? Upgrade


2 Posts   1382 Views


12 June 2010 at 2:39am Community Member, 1 Post

Afternoon All?

Is there anyway that I can upgrade from TinyMCE to use CKeditor instead? Any help would be really helpful :D


12 June 2010 at 11:32am Forum Moderator, 5511 Posts

Never done it myself. I think what you would want to do is make your own form field (see HtmlEditorField) and make a CkEditorField class which includes the specific JS code.

You would then also have to use the $fields->replaceField('Content', new CkEditorField('Content') function in your getCMSFields to replace the HtmlEditorField 'Content' with a CkEditorField.