X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fdocprops%2Fdialogs%2Fdocprops.js;h=bfd404ba80f9d17f255e3c52f68632f188d19a90;hp=f797547b242782666732424926dfaf66c2a9a99a;hb=f0610347140239143439a511ee2bd48cb784f470;hpb=4e70ea24db840898be8cc21c950363a52a2a6aba diff --git a/_source/plugins/docprops/dialogs/docprops.js b/_source/plugins/docprops/dialogs/docprops.js index f797547..bfd404b 100644 --- a/_source/plugins/docprops/dialogs/docprops.js +++ b/_source/plugins/docprops/dialogs/docprops.js @@ -475,7 +475,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) { type : 'hbox', widths : [ '60%', '40%' ], - padding : 0, + padding : 1, children : [ { type : 'text', @@ -511,7 +511,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) label : langCommon.browseServer, style : 'display:inline-block;margin-top:10px;', hidden : true, - filebrowser : 'bg:bgImage' + filebrowser : 'design:bgImage' } ] }, @@ -546,7 +546,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) id : 'marginTop', label : lang.marginTop, style : 'width: 80px; text-align: center; margin: 0px auto', - controlStyle : 'text-align: center', + inputStyle : 'text-align: center', setup : function( doc, html, head, body ) { this.setValue( body.getStyle( 'margin-top' ) || body.getAttribute( 'margintop' ) || '' ); @@ -565,7 +565,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) id : 'marginLeft', label : lang.marginLeft, style : 'width: 80px; text-align: center; margin: 0px auto', - controlStyle : 'text-align: center', + inputStyle : 'text-align: center', setup : function( doc, html, head, body ) { this.setValue( body.getStyle( 'margin-left' ) || body.getAttribute( 'marginleft' ) || '' ); @@ -581,7 +581,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) id : 'marginRight', label : lang.marginRight, style : 'width: 80px; text-align: center; margin: 0px auto', - controlStyle : 'text-align: center', + inputStyle : 'text-align: center', setup : function( doc, html, head, body ) { this.setValue( body.getStyle( 'margin-right' ) || body.getAttribute( 'marginright' ) || '' ); @@ -590,7 +590,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) onLoad : function() { this.getElement().getParent().setStyle( 'text-align', 'center' ); - } + } } ] }, @@ -599,7 +599,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) id : 'marginBottom', label : lang.marginBottom, style : 'width: 80px; text-align: center; margin: 0px auto', - controlStyle : 'text-align: center', + inputStyle : 'text-align: center', setup : function( doc, html, head, body ) { this.setValue( body.getStyle( 'margin-bottom' ) || body.getAttribute( 'marginbottom' ) || '' ); @@ -608,7 +608,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor ) onLoad : function() { this.getElement().getParent().setStyle( 'text-align', 'center' ); - } + } } ] }