Changeset 7534


Ignore:
Timestamp:
07/02/12 16:57:01 (22 months ago)
Author:
garry.yao
Message:

#8968: Fixed not using the "paste" event for plain text pasting in Fx, regression of [7453].

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r7533 r7534  
    7474                <li><a href="http://dev.ckeditor.com/ticket/9047">#9047</a> : [Firefox] Anchors in the preview window will now work properly.</li> 
    7575                <li><a href="http://dev.ckeditor.com/ticket/8941">#8941</a> : [Webkit] Content region disappeared when resizing the browser.</li> 
     76                <li><a href="http://dev.ckeditor.com/ticket/8968">#8968</a> : [Firefox] The forcePasteAsPlainText configuration is not working when using Ctrl/Cmd-V.</li> 
    7677        </ul> 
    7778        <h3> 
  • CKEditor/trunk/_source/plugins/clipboard/plugin.js

    r7504 r7534  
    136136                                var body = this.document.getBody(); 
    137137 
    138                                 // Simulate 'paste' event for Opera/Firefox2. 
    139                                 if ( CKEDITOR.env.opera 
    140                                                  || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) 
     138                                // 1. Opera just misses the "paste" event. 
     139                                // 2. Firefox's "paste" event comes too late to have the plain 
     140                                // text paste bin to work. 
     141                                if ( CKEDITOR.env.opera || CKEDITOR.env.gecko ) 
    141142                                        body.fire( 'paste' ); 
    142143                                return; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy