Ticket #234: 234_3_FCKeditor.patch

File 234_3_FCKeditor.patch, 1.4 KB (added by Frederico Caldeira Knabben, 13 years ago)

Part 1 of 2 : Targeted to the FCKeditor trunk

  • _whatsnew.html

     
    5050                        keystroke will now produce a &amp;nbsp; character.</li>
    5151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2032">#2032</a>] Added HTML samples
    5252                        for legacy HTML and Flash-embedded HTML code.</li>
     53                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced
     54                        the "PreventSubmitHandler" setting, which makes it possible to instruct the editor
     55                        to not handle the hidden field update on form submit events.</li>
    5356        </ul>
    5457        <p>
    5558                Fixed Bugs:</p>
  • editor/fckeditor.html

     
    360360                if ( FCKBrowserInfo.IsGecko )
    361361                        FCKTools.RunFunction( window.onresize ) ;
    362362
    363                 _AttachFormSubmitToAPI() ;
     363                if ( !FCKConfig.PreventSubmitHandler )
     364                        _AttachFormSubmitToAPI() ;
    364365
    365366                FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
    366367
  • fckconfig.js

     
    321321FCKConfig.BackgroundBlockerOpacity = 0.50 ;
    322322
    323323FCKConfig.MsWebBrowserControlCompat = false ;
     324
     325FCKConfig.PreventSubmitHandler = false ;
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy