hi
I am trying to learn how to develop a plug-in's. For the same reason i go through the http://docs.cksource.com/CKEditor_3.x/Tutorials/Timestamp_Plugin
I want to know about few instruction that used while creating a plugin
editor.ui.addButton( 'Timestamp',
{
label: 'Insert Timestamp',
command: 'insertTimestamp',//please tell use of command
icon: this.path + 'images/timestamp.png'
} );
In the mention below tool bar why we write Timestamp though we donot create a folder or file with that name
toolbar :
[
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
[ 'Timestamp' ]//what that mean
]
Thanks in advance for any help or suggestion
Please note that an updated
Please note that an updated version of this tutorial is available for CKEditor 4.x here: http://docs.ckeditor.com/#!/guide/plugin_sdk_sample
The insertTimestamp command should be created by you as this is where you define what your plugin actually does.
As for the second question, not sure I understand. If what worries you is why "Timestamp" starts with upper-case "T" and not lower-case "t" like the folder name, then this is a CKEditor convention, all toolbar buttons start with an upper-case letter.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Thanks
Thanks for for the link. I will go through