Ticket #5902: 5902_2.patch

File 5902_2.patch, 4.1 KB (added by Tobiasz Cudnik, 14 years ago)
  • _source/skins/kama/dialog.css

     
    728728        background-color : white;
    729729}
    730730
     731.cke_skin_kama .cke_dialog .cke_pastetext
     732{
     733        width: 346px;
     734        height: 170px;
     735}
     736
     737.cke_skin_kama .cke_dialog .cke_pastetext textarea
     738{
     739        width: 340px;
     740        height: 170px;
     741        resize: none;
     742}
     743
     744.cke_skin_kama .cke_dialog iframe.cke_pasteframe
     745{
     746        width: 346px;
     747        height: 130px;
     748        background-color: white;
     749        border: 1px solid black;
     750}
     751
    731752.cke_skin_kama .cke_dialog .cke_dark_background
    732753{
    733754        text-align : center;
  • _source/plugins/clipboard/dialogs/paste.js

     
    7676
    7777                        var iframe = CKEDITOR.dom.element.createFromHtml(
    7878                                                '<iframe' +
     79                                                ' class="cke_pasteframe"' +
    7980                                                ' frameborder="0" ' +
    8081                                                ' allowTransparency="true"' +
    8182                                                // Support for custom document.domain in IE.
     
    103104                                doc.close();
    104105                        }, this );
    105106
    106                         iframe.setStyles(
    107                                 {
    108                                         width : '346px',
    109                                         height : '130px',
    110                                         'background-color' : 'white',
    111                                         border : '1px solid black'
    112                                 } );
    113107                        iframe.setCustomData( 'dialog', this );
    114108
    115109                        var field = this.getContentElement( 'general', 'editing_area' ),
  • _source/skins/v2/dialog.css

     
    661661        background-color : white;
    662662}
    663663
     664.cke_skin_v2 .cke_dialog .cke_pastetext
     665{
     666        width: 346px;
     667        height: 170px;
     668}
     669
     670.cke_skin_v2 .cke_dialog .cke_pastetext textarea
     671{
     672        width: 340px;
     673        height: 170px;
     674        resize: none;
     675}
     676
     677.cke_skin_v2 .cke_dialog iframe.cke_pasteframe
     678{
     679        width: 346px;
     680        height: 130px;
     681        background-color: white;
     682        border: 1px solid black;
     683}
     684
    664685.cke_skin_v2 .cke_dialog .cke_dark_background
    665686{
    666687        text-align : center;
  • _source/plugins/pastetext/dialogs/pastetext.js

     
    4444                                                                html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.pasteMsg + '</div>'
    4545                                                        },
    4646                                                        {
    47                                                                 type : 'html',
     47                                                                type : 'textarea',
    4848                                                                id : 'content',
    49                                                                 style : 'width:340px;height:170px',
    50                                                                 html :
    51                                                                         '<textarea style="' +
    52                                                                                 'width:346px;' +
    53                                                                                 'height:170px;' +
    54                                                                                 'resize: none;' +
    55                                                                                 'direction:' + editor.config.contentsLangDirection + ';' +
    56                                                                                 'border:1px solid black;' +
    57                                                                                 'background-color:white">' +
    58                                                                         '</textarea>',
     49                                                                className : 'cke_pastetext',
    5950
    6051                                                                onLoad : function()
    6152                                                                {
    6253                                                                        var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(),
    63                                                                                 input = this.getElement();
     54                                                                                input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 );
    6455
    6556                                                                        input.setAttribute( 'aria-labelledby', label.$.id );
     57                                                                        input.setStyle( 'direction', editor.config.contentsLangDirection );
    6658                                                                },
    6759
    6860                                                                focus : function()
  • _source/skins/office2003/dialog.css

     
    659659        background-color : white;
    660660}
    661661
     662.cke_skin_office2003 .cke_dialog .cke_pastetext
     663{
     664        width: 346px;
     665        height: 170px;
     666}
     667
     668.cke_skin_office2003 .cke_dialog .cke_pastetext textarea
     669{
     670        width: 340px;
     671        height: 170px;
     672        resize: none;
     673}
     674
     675.cke_skin_office2003 .cke_dialog iframe.cke_pasteframe
     676{
     677        width: 346px;
     678        height: 130px;
     679        background-color: white;
     680        border: 1px solid black;
     681}
     682
    662683.cke_skin_office2003 .cke_dialog .cke_dark_background
    663684{
    664685        text-align : center;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy