#1994: Opera: ctrl-b twice will output bold text
---------------------------------+------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:                     
      Type:  Bug                 |      Status:  new                
  Priority:  Normal              |   Milestone:  Opera Compatibility
 Component:  General             |     Version:  SVN                
Resolution:                      |    Keywords:                     
---------------------------------+------------------------------------------
Changes (by [EMAIL PROTECTED]):

  * version:  => SVN

Comment:

 Likely caused by this JS error during key events handling:

 {{{
 JavaScript -
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
 Event thread: keydown
 Error:
 name: TypeError
 message: Statement on line 660: Cannot convert undefined or null to Object
 Backtrace:
   Line 660 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckdomrange.js
                                                         if ( oNode !=
 oNode.parentNode.lastChild )
   Line 284 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckstyle.js
                 range.Expand( 'inline_elements' ) ;
   Line 137 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckstyle.js
                 this.RemoveFromRange( range, true ) ;
   Line 52 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fckstyles.js
                         style.RemoveFromSelection( FCK.EditorWindow ) ;
   Line 42 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/commandclasses/fckcorestylecommand.js
                         FCKStyles.RemoveStyle( this.StyleName ) ;
   ...  Line 1009 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fck.js:
 In function _FCK_KeystrokeHandler_OnKeystroke
         return ( oCommand.Execute.apply( oCommand,
 FCKTools.ArgumentsToArray( arguments, 2 ) ) !== false ) ;
   ...  Line 106 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckkeystrokehandler.js:
 In function _FCKKeystrokeHandler_OnKeyDown
                 if ( keystrokeValue === true || !(
 keystrokeHandler.OnKeystroke && keystrokeHandler.OnKeystroke.apply(
 keystrokeHandler, keystrokeValue ) ) )
   ...  Line 179 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fcktools_gecko.js
                         listener.apply( sourceObject, [ e ].concat(
 paramsArray || [] ) ) ;
   ...
 stacktrace:   ...  Line 284 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckstyle.js
                 range.Expand( 'inline_elements' ) ;
   Line 137 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckstyle.js
                 this.RemoveFromRange( range, true ) ;
   Line 52 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fckstyles.js
                         style.RemoveFromSelection( FCK.EditorWindow ) ;
   Line 42 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/commandclasses/fckcorestylecommand.js
                         FCKStyles.RemoveStyle( this.StyleName ) ;
   ...  Line 1009 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fck.js:
 In function _FCK_KeystrokeHandler_OnKeystroke
         return ( oCommand.Execute.apply( oCommand,
 FCKTools.ArgumentsToArray( arguments, 2 ) ) !== false ) ;
   ...  Line 106 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/classes/fckkeystrokehandler.js:
 In function _FCKKeystrokeHandler_OnKeyDown
                 if ( keystrokeValue === true || !(
 keystrokeHandler.OnKeystroke && keystrokeHandler.OnKeystroke.apply(
 keystrokeHandler, keystrokeValue ) ) )
   ...  Line 179 of linked script
 
http://t.test/libraries%20and%20applications/fckeditor/FCKeditor/trunk/editor/_source/internals/fcktools_gecko.js
                         listener.apply( sourceObject, [ e ].concat(
 paramsArray || [] ) ) ;
   ...
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1994#comment:1>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to