Ticket #2885: 2885_7.patch
File 2885_7.patch, 7.2 KB (added by , 14 years ago) |
---|
-
_source/lang/en.js
549 549 tag_div : 'Normal (DIV)' 550 550 }, 551 551 552 div : 553 { 554 title : 'Create Div Container', 555 toolbar : 'Create Div Container', 556 cssClassInputLabel : 'Stylesheet Classes', 557 styleSelectLabel : 'Style', 558 IdInputLabel : 'Id', 559 languageCodeInputLabel : ' Language Code', 560 inlineStyleInputLabel : 'Inline Style', 561 advisoryTitleInputLabel : 'Advisory Title', 562 langDirLabel : 'Language Direction', 563 langDirLTRLabel : 'Left to Right (LTR)', 564 langDirRTLLabel : 'Right to Left (RTL)', 565 edit : 'Edit Div Container', 566 remove : 'Remove Div Container' 567 }, 568 552 569 font : 553 570 { 554 571 label : 'Font', -
_source/plugins/menu/plugin.js
328 328 'form,' + 329 329 'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+ 330 330 'anchor,link,image,flash,' + 331 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea ';331 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div'; -
_source/plugins/toolbar/plugin.js
277 277 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 278 278 '/', 279 279 ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], 280 ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote' ],280 ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], 281 281 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], 282 282 ['Link','Unlink','Anchor'], ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], 283 283 '/', -
_source/skins/office2003/icons.css
306 306 { 307 307 background-position: 0 -1040px; 308 308 } 309 310 .cke_skin_office2003 .cke_button_creatediv .cke_icon 311 { 312 background-position: 0 -1168px; 313 } 314 315 .cke_skin_office2003 .cke_button_editdiv .cke_icon 316 { 317 background-position: 0 -1184px; 318 } 319 320 .cke_skin_office2003 .cke_button_removediv .cke_icon 321 { 322 background-position: 0 -1200px; 323 } -
_source/skins/v2/icons.css
306 306 { 307 307 background-position: 0 -1040px; 308 308 } 309 310 .cke_skin_v2 .cke_button_creatediv .cke_icon 311 { 312 background-position: 0 -1168px; 313 } 314 315 .cke_skin_v2 .cke_button_editdiv .cke_icon 316 { 317 background-position: 0 -1184px; 318 } 319 320 .cke_skin_v2 .cke_button_removediv .cke_icon 321 { 322 background-position: 0 -1200px; 323 } -
_source/core/config.js
150 150 * config.plugins = 'basicstyles,button,htmldataprocessor,toolbar,wysiwygarea'; 151 151 */ 152 152 153 plugins : 'about,basicstyles,blockquote,button,clipboard,colorbutton,contextmenu, elementspath,enterkey,entities,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,removeformat,save,smiley,showblocks,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc',153 plugins : 'about,basicstyles,blockquote,button,clipboard,colorbutton,contextmenu,div,elementspath,enterkey,entities,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,removeformat,save,smiley,showblocks,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc', 154 154 155 155 /** 156 156 * The editor tabindex value. -
_source/core/dtd.js
66 66 */ 67 67 $block : block, 68 68 69 /** 70 * List of block limit elements. 71 * @type Object 72 * @example 73 */ 74 $blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 }, 75 69 76 $body : X({script:1}, block), 70 77 71 78 /** -
_source/core/dom/elementpath.js
9 9 var pathBlockElements = { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,de:1 }; 10 10 11 11 // Elements that may be considered the "Block limit" in an element path. 12 var pathBlockLimitElements = { body:1,div:1,td:1,th:1,caption:1,form:1 };12 var pathBlockLimitElements = CKEDITOR.dtd.$blockLimit; 13 13 14 14 // Check if an element contains any block element. 15 15 var checkHasBlock = function( element ) -
_source/core/dom/element.js
75 75 76 76 CKEDITOR.dom.element.setMarker = function( database, element, name, value ) 77 77 { 78 var id = element.getCustomData( ' list_marker_id' ) ||79 ( element.setCustomData( ' list_marker_id', CKEDITOR.tools.getNextNumber() ).getCustomData( 'list_marker_id' ) ),80 markerNames = element.getCustomData( ' list_marker_names' ) ||81 ( element.setCustomData( ' list_marker_names', {} ).getCustomData( 'list_marker_names' ) );78 var id = element.getCustomData( 'marker_id' ) || 79 ( element.setCustomData( 'marker_id', CKEDITOR.tools.getNextNumber() ).getCustomData( 'marker_id' ) ), 80 markerNames = element.getCustomData( 'marker_names' ) || 81 ( element.setCustomData( 'marker_names', {} ).getCustomData( 'marker_names' ) ); 82 82 database[id] = element; 83 83 markerNames[name] = 1; 84 84 … … 93 93 94 94 CKEDITOR.dom.element.clearMarkers = function( database, element, removeFromDatabase ) 95 95 { 96 var names = element.getCustomData( ' list_marker_names' ),97 id = element.getCustomData( ' list_marker_id' );96 var names = element.getCustomData( 'marker_names' ), 97 id = element.getCustomData( 'marker_id' ); 98 98 for ( var i in names ) 99 99 element.removeCustomData( i ); 100 element.removeCustomData( ' list_marker_names' );100 element.removeCustomData( 'marker_names' ); 101 101 if ( removeFromDatabase ) 102 102 { 103 element.removeCustomData( ' list_marker_id' );103 element.removeCustomData( 'marker_id' ); 104 104 delete database[id]; 105 105 } 106 106 }; … … 441 441 { 442 442 return new CKEDITOR.dom.nodeList( this.$.childNodes ); 443 443 }, 444 444 445 445 /** 446 446 * Gets the current computed value of one of the element CSS style 447 447 * properties.