Changes between Initial Version and Version 1 of Ticket #11186
- Timestamp:
- Nov 19, 2013, 10:30:27 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11186 – Description
initial v1 9 9 3. Better than overwriting specific widget would be to block upcasting globally. So we may add mechanism like: 10 10 11 {{{12 editor.widgets.addUpcastMethod( function( el ) { ... } );13 }}}11 {{{ 12 editor.widgets.addUpcastMethod( function( el ) { ... } ); 13 }}} 14 14 15 15 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. 16 16 17 17 Other possible method names: onUpcast, addUpcastCallback. 18 }}}