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, 10/03/2012 - 12:43
#1
prasad
Joined:
03/10/2012
Posts:
4
Can't see image button for custom plugin
http://docs.cksource.com/CKEditor_3.x/Tutorials/SimpleLink_Plugin_Part_1
Wed, 10/03/2012 - 13:06
#2
sdonepudi
Joined:
18/09/2012
Posts:
19
Re: Can't see image button for custom plugin
replace toolbar in ckeditor config.js instead of html page..
try like this in config,js
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Source', '-', 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
['PluginEx','-','About','-',]
]
let me know status...
Wed, 10/03/2012 - 13:26
#3
prasad
Joined:
03/10/2012
Posts:
4
Re: Can't see image button for custom plugin
Hi many thanks for your reply
I've removed code from html and added to the config.js file but it doesn't seem to work.
Wed, 10/03/2012 - 13:46
#4
sdonepudi
Joined:
18/09/2012
Posts:
19
Re: Can't see image button for custom plugin
ur code has problem...
editor.addCommand( 'PluginEx', new CKEDITOR.dialogCommand( 'PluginEx' ) );
this line should be inside of init function.. this is out side ..
pls check again.. and read instruction carefully once again...
Wed, 10/03/2012 - 15:52
#5
prasad
Joined:
03/10/2012
Posts:
4
Re: Can't see image button for custom plugin
Yes you are right I should put all the code in init function. Thank you very much for your help
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: Can't see image button for custom plugin
try like this in config,js
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Source', '-', 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
['PluginEx','-','About','-',]
]
let me know status...
Re: Can't see image button for custom plugin
I've removed code from html and added to the config.js file but it doesn't seem to work.
Re: Can't see image button for custom plugin
editor.addCommand( 'PluginEx', new CKEDITOR.dialogCommand( 'PluginEx' ) );
this line should be inside of init function.. this is out side ..
pls check again.. and read instruction carefully once again...
Re: Can't see image button for custom plugin