This is a rough FAQ for CKEditor. As you can see it will refer you several times to the Developer's guide and the API documentation.
This guide is now overriden by the the CKEditor 3 HOWTO in the documentation site. Now the questions will link directly to the corresponding page.
If your question isn't here, don't reply to this post. Search the forum, search the net and if you are unable to find anything then create a new post.
Changing the appearance
Q: How do I remove the name of elements at the bottom of the editor (Spot 1)?
Q: How do I remove the ability to resize the editor (Spot 2)?
Q: How do I remove the collapsing button of the toolbar (Spot 3)?
Q: How do I read/write the contents of the editor from javascript?
Q: How do I change the buttons in the toolbar?
Q: How do I change the contents of the 'Style' combo?
Q: How do I use the Styles combo to use classes?
Q: Why I can't use the styles combo with an image or a table or ...?
Q: How do I upload files/images with CKEditor?
Q: How do I make CKEditor output HTML code instead of XHTML (no '/>')?
Q: How do I change the contents of the xyz dialog?
Q: How do I set the default value for the xyz field in the zyx dialog?
Q: How do I know the name of the fields in the xyz dialog?
Q: Where can I find a plugin to do xyz in CKEditor?
A: Use the CKEditor 3 Plugins subforum
Q: How can I write a plugin?
A: First, read the official docs linked at the top. Knowing where the API is documented will provide answer to most of the questions. Check also the design architecture
These are some links to guides written by users, they contain different information explained in different ways, so if one is too easy for you maybe you feel better reading the other ones, and on the other side you can find that some guides are too long or complex for your question, but be assured that all of them can be useful so give them a look.
- long explanation trying to cover all the elements about creating a plugin for CKEditor
- another full explanation about plugins. Be warned that the page is automatically translated to your language, so it can be quite hard to understand what it says.
- another explanation of how to create a basic plugin and place it outside the CKEditor structure
- yet another one
- Basic explanation of a plugin and usage of iframeDialog
- using the iframeDialog
- simple guide
- modify Link dialog
- take a look at the posts, most of the ones that might interest you are marked as Tutorial, but others can be useful too.
- adding your entries to the context-menu
Re: FAQ. How to...
In the FAQ item about uploading files, you refer to CKFinder, but the link goes to ckinder.com (not ckfinder.com). You might want to fix that
available configuration options
available configuration options see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
eg removePlugins: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.removePlugins
Re: FAQ. How to... have multiple instances of CKEditor in a
Your textarea code should look like this
Re: FAQ. How to...
Re: FAQ. How to...
That's tracked in this ticket: http://dev.fckeditor.net/ticket/5421
Re: FAQ. How to... have multiple instances of CKEditor in a
Re: FAQ. How to...
this is great, thanks alfonso.
one small request. how can you modify the width and background color of a button inside a dialog?
http://cksource.com/forums/viewtopic.php?f=11&t=19027&p=48313#p48313
Thanks in advance,
adico
Re: FAQ. How to...
Re: FAQ. How to...
I've added this:
A: To prevent the spellchecker to start automatically use this config:
To remove the plugin use this config:
Re: FAQ. How to...
I think you should provide documentation for important features and plugins like fake elements, data processor, selection handling, etc.
imho, these are too much important features to be not documented.
Thanks for these FAQs anyway
Re: FAQ. How to...
Re: FAQ. How to...
Well, the questions comes obviously from the topics
If you want, I can express them as generic questions (like "how do I write a plugin?") but I think you got the point.
Yep, I'm already working on it: trying to figure out how some features work and writing a doc about it.
I don't have many time, and I'm not sure if my documentation will be ever ready for external usage, but, in the case, I'll tell on the forum.
By the way: is there, somewhere, a collection of tutorials and - in general - a more complete list of documents to read than this FAQ? We could start a topic for that, in the case it doesn't exists.
Thanks!
EDIT: ...or a documentation wiki for the community?
Re: FAQ. How to...
Re: FAQ. How to...
i don't like the scayt showing its server information.i just wanna use something similar to this which is open source and we can modify them.This one is so ridiculous.Sorry for any offenses i have made.
Re: FAQ. How to...
It's not much, but it's something
How to use context menus:
http://blog.ale-re.net/2010/06/ckeditor ... -menu.html
HIH
Re: FAQ. How to...
This is not much, but I didn't found anything else about icons:
http://blog.ale-re.net/2010/07/custom-i ... olbar.html
HIH
EDIT: Same technique used here:
viewtopic.php?f=11&t=18876
Sorry didn't saw this post.
Re: FAQ. How to...
How do you get multiple instances of the CKEditor to use the same toolbar, like you can with FCKEditor ;
http://docs.cksource.com/FCKeditor_2.x/ ... arLocation
Cheers
Re: FAQ. How to...
How to replace the script tags with an image in the editor:
viewtopic.php?f=11&t=19752&p=50332#p50332
Re: FAQ. How to...
Re: FAQ. How to...
Yes, I hate to modify the original source, but script code protection seems to be hardcoded and couldn't be easily prevented. Anyway if you have a better solution I'll be glad to read it and eventually write something about it.
~Aki
Re: FAQ. How to...
Re: FAQ. How to...
thanks
Re: FAQ. How to...
Thanks
Techspecialist
Re: FAQ. How to...
Re: FAQ. How to...
Re: FAQ. How to...
Using a plugin, how do I call a custom function every time an icon on the toolbar is clicked but not the plugin's icon (It has no icon,) as well as allowing what normally happens when the toolbar icon is clicked, without modifying each plugin to fire a custom event?
Specifically the 'newpage' command for example (Because it fires no event.)
I'm basically looking for a way to action something when a click event occurs on each or one specific toolbar icon.
for example is no good because a 'newpage' event isn't fired when the newpage icon on the toolbar is clicked.
Anyone know?
Thanks,
Zanpakutō
Re: FAQ. How to...
Re: FAQ. How to...
Re: FAQ. How to...
Re: FAQ. How to...