diff --git a/_samples/ui_color.html b/_samples/ui_color.html index fdd70e890e..adf2e55673 100644 --- a/_samples/ui_color.html +++ b/_samples/ui_color.html @@ -26,7 +26,7 @@ [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'UIColor' ] - ] + ] }); //]]> @@ -47,7 +47,7 @@ [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'UIColor' ] - ] + ] } ); //]]> diff --git a/_source/core/htmlparser/fragment.js b/_source/core/htmlparser/fragment.js index 476acb5503..7e1079a3c9 100644 --- a/_source/core/htmlparser/fragment.js +++ b/_source/core/htmlparser/fragment.js @@ -276,7 +276,7 @@ CKEDITOR.htmlParser.fragment = function() { if ( fixForBody && !currentNode.type ) this.onTagOpen( fixForBody, {} ); - // Shrinking consequential spaces into one single for all elements + // Shrinking consequential spaces into one single for all elements // text contents. if ( !inPre ) text = text.replace( /[\t\r\n ]{2,}|[\t\r\n]/g, ' ' ); diff --git a/_source/lang/_translationstatus.txt b/_source/lang/_translationstatus.txt index d17bfaf0af..c0fb0121ab 100644 --- a/_source/lang/_translationstatus.txt +++ b/_source/lang/_translationstatus.txt @@ -56,4 +56,4 @@ tr.js Found: 332 Missing: 102 uk.js Found: 327 Missing: 107 vi.js Found: 326 Missing: 108 zh-cn.js Found: 332 Missing: 102 -zh.js Found: 327 Missing: 107 \ No newline at end of file +zh.js Found: 327 Missing: 107 diff --git a/_source/plugins/floatpanel/plugin.js b/_source/plugins/floatpanel/plugin.js index 724ba71b5f..5f26197813 100644 --- a/_source/plugins/floatpanel/plugin.js +++ b/_source/plugins/floatpanel/plugin.js @@ -180,7 +180,7 @@ CKEDITOR.plugins.add( 'floatpanel', { target.setStyle( 'height', height + 'px' ); - // Fix IE < 8 visibility. + // Fix IE < 8 visibility. panel._.currentBlock.element.setStyle( 'display', 'none' ).removeStyle( 'display' ); } diff --git a/_source/plugins/scayt/dialogs/options.js b/_source/plugins/scayt/dialogs/options.js index 3bef2379c8..aceaca6dd5 100644 --- a/_source/plugins/scayt/dialogs/options.js +++ b/_source/plugins/scayt/dialogs/options.js @@ -11,7 +11,7 @@ CKEDITOR.dialog.add( 'scaytcheck', function( editor ) { var dic_buttons = [ // [0] contains buttons for creating "dic_create,dic_restore", - // [1] contains buton for manipulation + // [1] contains buton for manipulation "dic_rename,dic_delete" ]; @@ -220,7 +220,7 @@ CKEDITOR.dialog.add( 'scaytcheck', function( editor ) { } } - // * user dictionary + // * user dictionary scayt.getNameUserDictionary( function( o ) { var dic_name = o.dname; if ( dic_name ) { diff --git a/_source/plugins/scayt/plugin.js b/_source/plugins/scayt/plugin.js index fd59483771..c516cb2ebd 100644 --- a/_source/plugins/scayt/plugin.js +++ b/_source/plugins/scayt/plugin.js @@ -92,7 +92,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license elements: { span: function( element ) { if ( element.attributes.scayt_word && element.attributes.scaytid ) { - delete element.name; // Write children, but don't write this node. + delete element.name; // Write children, but don't write this node. return element; } } @@ -376,7 +376,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // ** ahow ads entry point // ** hide ads listener register // try{ - //scayt_control.showBanner( editor ) + //scayt_control.showBanner( editor ) // }catch(err){} return mainSuggestions; diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index 648b02dbfa..9f1f3cd4a8 100644 --- a/_source/plugins/sourcearea/plugin.js +++ b/_source/plugins/sourcearea/plugin.js @@ -43,7 +43,7 @@ CKEDITOR.plugins.add( 'sourcearea', { if ( CKEDITOR.env.ie ) { if ( !CKEDITOR.env.ie8Compat ) { onResize = function() { - // Holder rectange size is stretched by textarea, + // Holder rectange size is stretched by textarea, // so hide it just for a moment. textarea.hide(); textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' ); diff --git a/_source/skins/kama/dialog.css b/_source/skins/kama/dialog.css index 624b7c2b9a..e3f893146e 100644 --- a/_source/skins/kama/dialog.css +++ b/_source/skins/kama/dialog.css @@ -131,7 +131,7 @@ body .cke_dialog padding: 4px 8px; display: inline-block; cursor: pointer; - + } /* Gecko 1.8 layout workaround. */ diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index 99aee6a2e6..1db16a7b5c 100644 --- a/_source/skins/kama/skin.js +++ b/_source/skins/kama/skin.js @@ -186,7 +186,7 @@ CKEDITOR.skins.add( 'kama', ( function() { // var last = toolbar.getLast(); // if ( !last || !last.getPrevious().hasClass( 'cke_rcombo' ) ) // continue; - // + // // last.addClass( 'cke_toolbar_end_last' ); // } // }); diff --git a/_source/skins/kama/toolbar.css b/_source/skins/kama/toolbar.css index ac3649e4af..2d9ea6bcc0 100644 --- a/_source/skins/kama/toolbar.css +++ b/_source/skins/kama/toolbar.css @@ -24,7 +24,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license padding: 5px 6px 5px 3px; } -.cke_skin_kama a.cke_toolbox_collapser, +.cke_skin_kama a.cke_toolbox_collapser, .cke_skin_kama a:hover.cke_toolbox_collapser { background-image: url(images/arrowtop.gif); @@ -38,20 +38,20 @@ For licensing, see LICENSE.html or http://ckeditor.com/license cursor: pointer; } -.cke_skin_kama .cke_rtl a.cke_toolbox_collapser, +.cke_skin_kama .cke_rtl a.cke_toolbox_collapser, .cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser { float: left; } -.cke_skin_kama a.cke_toolbox_collapser_min, +.cke_skin_kama a.cke_toolbox_collapser_min, .cke_skin_kama a:hover.cke_toolbox_collapser_min { background-image: url(images/arrowleft.gif); margin: 2px 4px; } -.cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min, +.cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min, .cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser_min { background-image: url(images/arrowright.gif); @@ -83,7 +83,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license display: none; } -.cke_skin_kama .cke_toolgroup +.cke_skin_kama .cke_toolgroup { -moz-border-radius:5px; -webkit-border-radius: 5px; diff --git a/_source/skins/office2003/toolbar.css b/_source/skins/office2003/toolbar.css index d3b98d5701..1a3cf1446a 100644 --- a/_source/skins/office2003/toolbar.css +++ b/_source/skins/office2003/toolbar.css @@ -60,14 +60,14 @@ For licensing, see LICENSE.html or http://ckeditor.com/license float: right; } -.cke_skin_office2003 .cke_toolgroup +.cke_skin_office2003 .cke_toolgroup { display: inline-block; float: left; height: 28px; } -.cke_skin_office2003 .cke_rtl .cke_toolgroup +.cke_skin_office2003 .cke_rtl .cke_toolgroup { float: right; } diff --git a/_source/skins/v2/dialog.css b/_source/skins/v2/dialog.css index 1acfacd473..0eb91d987c 100644 --- a/_source/skins/v2/dialog.css +++ b/_source/skins/v2/dialog.css @@ -648,4 +648,3 @@ body .cke_dialog { border-color: #C7C78F; } - diff --git a/_source/skins/v2/toolbar.css b/_source/skins/v2/toolbar.css index abd40c28c9..4aa01a4f95 100644 --- a/_source/skins/v2/toolbar.css +++ b/_source/skins/v2/toolbar.css @@ -63,7 +63,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license float: left; } -.cke_skin_v2 .cke_rtl .cke_toolgroup +.cke_skin_v2 .cke_rtl .cke_toolgroup { float: right; } diff --git a/_source/tests/core/dom/documentfragment.html b/_source/tests/core/dom/documentfragment.html index 34bcc90a6f..f618d75b4a 100644 --- a/_source/tests/core/dom/documentfragment.html +++ b/_source/tests/core/dom/documentfragment.html @@ -121,7 +121,7 @@ ct.append( frag ); assert.areSame( 'text\t\n', ct.getText() ); }, - + test_ltrim_ie : function() { if ( !CKEDITOR.env.ie ) @@ -153,7 +153,7 @@ frag.rtrim(); var ct = new CKEDITOR.dom.element( 'div' ); ct.append( frag ); - + assert.areSame( '\t\ntext', ct.getText() ); }, @@ -286,8 +286,8 @@
-
-text +
+text
diff --git a/_source/tests/core/dom/range.html b/_source/tests/core/dom/range.html index ba94713e9f..ec41d64b73 100644 --- a/_source/tests/core/dom/range.html +++ b/_source/tests/core/dom/range.html @@ -1951,7 +1951,7 @@ assert.isFalse( range.checkEndOfBlock() ); }, - + test_checkStartOfBlock1 : function() { var p = doc.getById( 'playground' ); @@ -1962,7 +1962,7 @@ range.setStartAt( p, CKEDITOR.POSITION_AFTER_START ); range.collapse( true ); - + assert.isTrue( range.checkStartOfBlock() ); }, @@ -1976,7 +1976,7 @@ range.setStartAt( p, CKEDITOR.POSITION_BEFORE_END ); range.collapse( true ); - + assert.isFalse( range.checkStartOfBlock() ); }, @@ -1990,7 +1990,7 @@ range.setStartAt( p.getFirst(), CKEDITOR.POSITION_AFTER_START ); range.collapse( true ); - + assert.isTrue( range.checkStartOfBlock() ); }, @@ -2004,7 +2004,7 @@ range.setStartAt( p.getFirst(), CKEDITOR.POSITION_BEFORE_END ); range.collapse( true ); - + assert.isFalse( range.checkStartOfBlock() ); }, @@ -2020,7 +2020,7 @@ // So, let's just check it and make it pass. range.setStart( el, ( el.substring( 0, 1 ) == 'T' ) ? 0 : 1 ); range.collapse( true ); - + assert.isTrue( range.checkStartOfBlock() ); }, @@ -2034,7 +2034,7 @@ range.setStart( p.getFirst(), 5 ); range.collapse( true ); - + assert.isFalse( range.checkStartOfBlock() ); }, @@ -2046,7 +2046,7 @@ var range = new CKEDITOR.dom.range( doc ); range.selectNodeContents( el ); - + assert.isTrue( range.checkStartOfBlock() ); }, @@ -2058,7 +2058,7 @@ var range = new CKEDITOR.dom.range( doc ); range.selectNodeContents( el ); - + assert.isFalse( range.checkStartOfBlock() ); }, @@ -2072,7 +2072,7 @@ range.setStartAt( p, CKEDITOR.POSITION_AFTER_START ); range.collapse( true ); - + assert.isFalse( range.checkEndOfBlock() ); }, @@ -2086,7 +2086,7 @@ range.setStartAt( p, CKEDITOR.POSITION_BEFORE_END ); range.collapse( true ); - + assert.isTrue( range.checkEndOfBlock() ); }, @@ -2100,7 +2100,7 @@ range.setStartAt( p.getFirst(), CKEDITOR.POSITION_AFTER_START ); range.collapse( true ); - + assert.isFalse( range.checkEndOfBlock() ); }, @@ -2114,7 +2114,7 @@ range.setStartAt( p.getFirst(), CKEDITOR.POSITION_BEFORE_END ); range.collapse( true ); - + assert.isTrue( range.checkEndOfBlock() ); }, @@ -2128,7 +2128,7 @@ range.setStart( p.getFirst(), 1 ); range.collapse( true ); - + assert.isFalse( range.checkEndOfBlock() ); }, @@ -2142,7 +2142,7 @@ range.setStart( p.getFirst(), 5 ); range.collapse( true ); - + assert.isTrue( range.checkEndOfBlock() ); }, @@ -2154,7 +2154,7 @@ var range = new CKEDITOR.dom.range( doc ); range.selectNodeContents( el ); - + assert.isTrue( range.checkEndOfBlock() ); }, @@ -2166,7 +2166,7 @@ var range = new CKEDITOR.dom.range( doc ); range.selectNodeContents( el ); - + assert.isFalse( range.checkEndOfBlock() ); }, diff --git a/_source/tests/core/htmlparser/htmlparser.html b/_source/tests/core/htmlparser/htmlparser.html index 8515ee8014..7876706c72 100644 --- a/_source/tests/core/htmlparser/htmlparser.html +++ b/_source/tests/core/htmlparser/htmlparser.html @@ -9,7 +9,7 @@ - +