Changeset 2102

Show
Ignore:
Timestamp:
2008-06-23 08:48:55 (5 months ago)
Author:
martinkou
Message:

Initial import of div container code.

Location:
FCKeditor
Files:
2 added
1 removed
6 modified
1 copied

Legend:

Unmodified
Added
Removed
  • FCKeditor/branches/features/div_container/editor/fckeditor.html

    r2073 r2102  
    156156LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ; 
    157157LoadScript( '_source/commandclasses/fckindentcommands.js' ) ; 
    158 LoadScript( '_source/commandclasses/fckblockquotecommand.js' ) ; 
     158LoadScript( '_source/commandclasses/fckblockcontainercommand.js' ) ; 
    159159LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ; 
    160160LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ; 
  • FCKeditor/branches/features/div_container/editor/lang/en.js

    r1565 r2102  
    7373IncreaseIndent          : "Increase Indent", 
    7474Blockquote                      : "Blockquote", 
     75Div                             : "Div", 
    7576Undo                            : "Undo", 
    7677Redo                            : "Redo", 
     
    512513DlgAboutLicenseTab      : "License", 
    513514DlgAboutVersion         : "version", 
    514 DlgAboutInfo            : "For further information go to" 
     515DlgAboutInfo            : "For further information go to", 
     516 
     517// Div Dialog 
     518DlgDivGeneralTab        : "General", 
     519DlgDivAdvancedTab       : "Advanced", 
     520DlgDivStyle             : "Style", 
     521DlgDivInlineStyle       : "Inline Style" 
    515522}; 
  • FCKeditor/branches/features/div_container/editor/_source/internals/fckcommands.js

    r1812 r2102  
    9494                case 'Indent'   : oCommand = new FCKIndentCommand( 'indent', FCKConfig.IndentLength ) ; break ; 
    9595                case 'Outdent'  : oCommand = new FCKIndentCommand( 'outdent', FCKConfig.IndentLength * -1 ) ; break ; 
    96                 case 'Blockquote'       : oCommand = new FCKBlockQuoteCommand() ; break ; 
     96                case 'Blockquote'       : oCommand = new FCKBlockContainerCommand( 'blockquote' ) ; break ; 
     97                case 'CreateDiv'        : oCommand = new FCKDialogCommand( 'CreateDiv', FCKLang.Div, 'dialog/fck_div.html', 380, 210, null, null, true ) ; break ; 
     98                case 'EditDiv'          : oCommand = new FCKDialogCommand( 'EditDiv', FCKLang.Div, 'dialog/fck_div.html', 380, 210, null, null, false ) ; break ; 
    9799 
    98100                case 'TableInsertRowAfter'              : oCommand = new FCKTableCommand('TableInsertRowAfter') ; break ; 
  • FCKeditor/branches/features/div_container/editor/_source/internals/fcktoolbaritems.js

    r1565 r2102  
    7272                case 'Indent'                   : oItem = new FCKToolbarButton( 'Indent'        , FCKLang.IncreaseIndent, null, null, false, true, 29 ) ; break ; 
    7373                case 'Blockquote'                       : oItem = new FCKToolbarButton( 'Blockquote'    , FCKLang.Blockquote, null, null, false, true, 73 ) ; break ; 
     74                case 'CreateDiv'                        : oItem = new FCKToolbarButton( 'CreateDiv'     , FCKLang.Blockquote, null, null, false, true, 73 ) ; break ; 
    7475 
    7576                case 'Link'                             : oItem = new FCKToolbarButton( 'Link'          , FCKLang.InsertLinkLbl, FCKLang.InsertLink, null, false, true, 34 ) ; break ; 
  • FCKeditor/branches/features/div_container/fckconfig.js

    r2095 r2102  
    103103        '/', 
    104104        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], 
    105         ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], 
     105        ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], 
    106106        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], 
    107107        ['Link','Unlink','Anchor'], 
  • FCKeditor/branches/features/div_container/fckpackager.xml

    r2069 r2102  
    131131                <File path="editor/_source/commandclasses/fckjustifycommands.js" /> 
    132132                <File path="editor/_source/commandclasses/fckindentcommands.js" /> 
    133                 <File path="editor/_source/commandclasses/fckblockquotecommand.js" /> 
     133                <File path="editor/_source/commandclasses/fckblockcontainercommand.js" /> 
    134134                <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> 
    135135                <File path="editor/_source/commandclasses/fckremoveformatcommand.js" /> 
     
    227227                <File path="editor/_source/commandclasses/fckjustifycommands.js" /> 
    228228                <File path="editor/_source/commandclasses/fckindentcommands.js" /> 
    229                 <File path="editor/_source/commandclasses/fckblockquotecommand.js" /> 
     229                <File path="editor/_source/commandclasses/fckblockcontainercommand.js" /> 
    230230                <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> 
    231231                <File path="editor/_source/commandclasses/fckremoveformatcommand.js" />