Changes between Initial Version and Version 1 of Ticket #8261, comment 8


Ignore:
Timestamp:
Jun 27, 2013, 8:27:09 AM (11 years ago)
Author:
Piotr Jasiun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8261, comment 8

    initial v1  
    22
    33If you want to use jQuery validation with editors created without adapter everything you should do is to refresh textarea using {{{editor.updateElement();}}} before validation.
     4
     5Moreover you can connect save button of your editor to jQuery submit method using:
     6{{{
     7editor.on( 'save', function() {
     8        $( element.form ).submit();
     9        return false; //return false to cancel default behavior
     10} );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy