Ticket #453 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Error deleting a table in Firefox

Reported by: alfonsoml Owned by:
Priority: Normal Milestone: FCKeditor 2.4.3
Component: UI : Enter Key Version: SVN (FCKeditor)
Keywords: Cc:

Description

Steps in Firefox 2.0.0.3:

  1. insert a table
  2. Select it
  3. Press Del to delete it
currentBlock has no properties
_ExecuteBackspace(Object Window=window StartContainer=td StartBlockLimit=td, null, null)fckenterkey.js (line 179)
DoDelete()fckenterkey.js (line 275)
FCKEnterKey_OnKeystroke(46, "Delete")fckenterkey.js (line 78)
_FCKKeystrokeHandler_OnKeyDown(keydown charCode=0, keyCode=46, Object Keystrokes=Object CancelCtrlDefaults=false)fckkeystrokehandl... (line 101)
(no name)(keydown charCode=0, keyCode=46)fcktools_gecko.js (line 133)
 if ( !previous && currentBlock.nodeName.IEquals( 'LI' ) && currentBlock.parentN...

Change History

Changed 3 years ago by fredck

  • milestone set to FCKeditor 2.5

Fixed with [313].

Click here for more info about our SVN system.

Changed 3 years ago by fredck

Just a note...

In Firefox, there is no way to delete the table by selecting it and hitting del. This is a browser limitation.

Actually, when clicking on a table, you simply place the cursor inside one of its cells.

Changed 3 years ago by alfonsoml

Yes, I didn't explain the steps properly, but it's possible to select a table in firefox, although it's tricky: you must Ctrl+Click on the border, sometimes you will only select a cell, but if you try again you should be able to select the whole table. Of course it's far easier having a status bar with the dom tree to the current node and the ability to select any node from that tree, but that's not included in the default configuration.

Changed 3 years ago by fredck

Even easier... just right click on the table ;)

Changed 3 years ago by alfonsoml

To delete the table yes, but if you want to add a class name to a table you must use the Style combo, and to show the styles available for tables you must select the whole table.

why is the bug still open?

Changed 3 years ago by fredck

  • status changed from new to closed
  • resolution set to fixed

Changed 3 years ago by fredck

  • milestone changed from FCKeditor 2.5 to FCKeditor 2.4.3
Note: See TracTickets for help on using tickets.