Ticket #898: 898.patch

File 898.patch, 1.6 KB (added by alfonsoml, 23 months ago)

Proposed SVN patch

  • _whatsnew.html

     
    8888                        paragraphs in the output.</li> 
    8989                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed several validation  
    9090                        errors in the File Browser.</li> 
     91                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles for the editing area 
     92                        are applied in the image preview dialog.</li> 
    9193        </ul> 
    9294        <h3> 
    9395                Version 2.6</h3> 
  • editor/dialog/fck_image/fck_image_preview.html

     
    3434var FCKTools    = window.parent.FCKTools ; 
    3535var FCKConfig   = window.parent.FCKConfig ; 
    3636 
    37 // Sets the Skin CSS 
    38 document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; 
    39 document.write( FCKTools.GetStyleHtml( GetCommonDialogCss( '../' ) ) ) ; 
     37// Set the preview CSS 
     38        document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) ) ; 
     39        document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ) ; 
    4040 
    4141if ( window.parent.FCKConfig.BaseHref.length > 0 ) 
    4242        document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ; 
     
    5050 
    5151        </script> 
    5252</head> 
    53 <body style="color: #000000; background-color: #ffffff"> 
     53<body> 
    5454        <div> 
    5555                <a id="lnkPreview" onclick="return false;" style="cursor: default"> 
    5656                        <img id="imgPreview" onload="window.parent.UpdateOriginal();"