Changes between Initial Version and Version 1 of Ticket #11186


Ignore:
Timestamp:
Nov 19, 2013, 10:30:27 AM (10 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11186 – Description

    initial v1  
    993. Better than overwriting specific widget would be to block upcasting globally. So we may add mechanism like:
    1010
    11     {{{
    12     editor.widgets.addUpcastMethod( function( el ) { ... } );
    13     }}}
     11       {{{
     12       editor.widgets.addUpcastMethod( function( el ) { ... } );
     13       }}}
    1414
    1515    Returning `false` would block upcasting on that element. Returning other values could modify upcasting in a different way, but I don't have a clear concept yet.
    1616
    1717    Other possible method names: onUpcast, addUpcastCallback.
    18 }}}
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy