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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

CK Editor? Upgrade


Go to End


2 Posts   1899 Views

Avatar
Nebb

Community Member, 1 Post

12 June 2010 at 2:39am

Afternoon All?

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

http://www.ckeditor.com/

Avatar
Willr

Forum Moderator, 5523 Posts

12 June 2010 at 11:32am

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.