Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html |
— | — | @@ -94,10 +94,10 @@ |
95 | 95 | } |
96 | 96 | var context = window.parent.jQuery.wikiEditor.instances[get( 'instance' )].data( 'wikiEditor-context' ); |
97 | 97 | $j( document ) |
98 | | - .bind( 'keyup mouseup paste cut', function( event ) { |
| 98 | + .bind( 'keyup mouseup paste cut encapsulateSelection', function( event ) { |
99 | 99 | context.fn.trigger( 'change', event ); |
100 | 100 | } ) |
101 | | - .delayedBind( 250, 'keyup mouseup paste cut', function( event ) { |
| 101 | + .delayedBind( 250, 'keyup mouseup paste cut encapsulateSelection', function( event ) { |
102 | 102 | context.fn.trigger( 'delayedChange', event ); |
103 | 103 | } ); |
104 | 104 | } ); |