Ticket #2021: 2021.patch

File 2021.patch, 1.4 KB (added by Martin Kou, 16 years ago)
  • _whatsnew.html

     
    7373                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added logic
    7474                        to override JavaScript errors occuring inside the editing frame due to user added
    7575                        JavaScript code.</li>
     76                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret
     77                        will no longer remain behind in the editing area when the placeholder dialog is
     78                        opened.</li>
    7679        </ul>
    7780        <h3>
    7881                Version 2.6 Beta 1</h3>
  • editor/plugins/placeholder/fck_placeholder.html

     
    2626                <title>Placeholder Properties</title>
    2727                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    2828                <meta content="noindex, nofollow" name="robots">
     29                <script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>
    2930                <script language="javascript">
    3031
    3132var dialog = window.parent ;
     
    4243
    4344        // Show the "Ok" button.
    4445        dialog.SetOkButton( true ) ;
     46
     47        // Select text field on load.
     48        SelectField( 'txtName' ) ;
    4549}
    4650
    4751var eSelected = dialog.Selection.GetSelectedElement() ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy