Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
CKEditor
Last post
Wed, 11/25/2009 - 15:39
#1
pzh20
Joined:
25/11/2009
Posts:
13
Custom Config
Wed, 11/25/2009 - 20:40
#2
woahtuff
Joined:
11/11/2009
Posts:
11
Re: Custom Config
Try using
customConfig : '/blog/custom/ckeditor_config.js'
where you call the editor in your input or textarea or wherever like this:
var editor = CKEDITOR.replace( 'editor',
{
customConfig : '/blog/custom/ckeditor_config.js'
} );
replace 'editor' with whatever your editor is called.
Thu, 11/26/2009 - 11:31
#3
pzh20
Joined:
25/11/2009
Posts:
13
Re: Custom Config
OK, that didn't work, I've got
CKEDITOR.replace( 'excerpt' , {customConfig : '/blog/custom/ckeditor_config.js'});
so it must be something to do with the path. I cannot find out if the path is relative to the page, the root or to ckeditor!
The reason I wanted it in the config.js was so I only needed to specify it in one place, not on every page I use the editor.
Regards
Pete
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: Custom Config
var editor = CKEDITOR.replace( 'editor',
{
customConfig : '/blog/custom/ckeditor_config.js'
} );
replace 'editor' with whatever your editor is called.
Re: Custom Config
CKEDITOR.replace( 'excerpt' , {customConfig : '/blog/custom/ckeditor_config.js'});
so it must be something to do with the path. I cannot find out if the path is relative to the page, the root or to ckeditor!
The reason I wanted it in the config.js was so I only needed to specify it in one place, not on every page I use the editor.
Regards
Pete