Opened 18 years ago
Closed 18 years ago
#474 closed Bug (invalid)
Table Properties is not working in Fire Fox
Reported by: | Arun | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi,
Browser-FireFox OS-WindowsXP FCKEditor -v2.4.1
Steps i did
1)Insert a table by clicking on table property icon
2)Alter this table by stretching on the corners of the table.
3)select this (altered)table, and click on the table properties icon.it opens the table property window with the default values for height and width.but not the new values(we have altered the table) of the selected table.and if we click on OK it is inserting a new table inside the selected table.
if we select the existing table and right click it will opens the table property window and display the actual values of the selected table(if we have altered)
In IE its working fine.
In fck_table.html i put a alert() statement to see the vale of e when it is selected.
var e = oEditor.FCKSelection.GetSelectedElement(); alert(e);
when we select the existing table and click on the table property icon the value in the e is undefined.but when we select and right click the value is correct its displaying[object]
Thanks, Arun
This is expected. Actually in the first case, you are "creating a new table", not really editing that table properties. Note that the cursor is inside a table cell, and there is no reason for not being able to create tables inside table cells.
So, the correct way to edit the table properties is by using the context menu.
IE behaves differently because it is possible to select the entire table with it, while with FF, this is not possible, so you just have the cursor inside one of the table cells.