Changeset 6708


Ignore:
Timestamp:
04/19/11 12:55:43 (4 years ago)
Author:
garry.yao
Message:

Play some tricks to not let user feel configuration verbose on sample.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/branches/features/bbcode/_samples/bbcode.html

    r6705 r6708  
    3333        {
    3434                extraPlugins : 'bbcode',
    35                 enterMode : CKEDITOR.ENTER_BR,
    36                 entities : false,
    37                 fontSize_sizes : "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",
    38                 colorButton_colors : 'Red/FF0000,Green/00FF00,Blue/0000FF',
    39                 toolbar : [
    40                         ['Source', '-', 'Save','NewPage','Preview','-','Bold', 'Italic','-', 'TextColor', 'FontSize','-','Underline','-','Link', 'Image'],
    41                         ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    42                         ['Smiley','SpecialChar'],
    43                         ['NumberedList','BulletedList','-','Blockquote']
    44                 ]
     35                toolbar :
     36                [
     37                        ['Source', '-', 'Save','NewPage','-','Undo','Redo'],
     38                        ['Find','Replace','-','SelectAll','RemoveFormat'],
     39                        ['Link', 'Image'],
     40                        '/',
     41                        ['FontSize', 'Bold', 'Italic','Underline'],
     42                        ['NumberedList','BulletedList','-','Blockquote'],
     43                        ['TextColor', '-', 'Smiley','SpecialChar', '-', 'Maximize']
     44                ],
     45                ...
    4546        });
    4647        </pre>
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy