Opened 10 years ago

Closed 6 months ago

#1163 closed enhancement (fixed)

TableOperations breaks if tables have a TH

Reported by: mharrisonline Owned by: gogo
Priority: normal Milestone: Improved table support
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

When the TableOperations? plugin performs an operation on a column or row, it is only coded to expect that every cell is a td. If a cell is a TH, it breaks the table and the user must undo and view source and perfom the table edit without the WYSIWYG.

This is different from ticket #640, which really is for the insertTable module to support creating tables with header rows and columns. This ticket relates to the granular problem that once a table with headers is in Xinha, Xinha cannot perform normal table operations on it. Such a table could already have been pasted, generated in Dreamweaver or Contribute, or created in Xinha with a modified insertTable function as described in #640.

Change History (6)

comment:1 Changed 10 years ago by ray

  • Milestone changed from Version 1.0 to 0.96

comment:2 Changed 10 years ago by nicholasbs

  • Milestone changed from 0.96 to Improved table support

comment:3 Changed 9 years ago by gogo

In theory, this possibly isn't too difficult to fix. Leaving it open.

comment:4 Changed 7 months ago by gogo

  • Status changed from new to assigned

[1358] Fixes the main problem here in that it will work for existing th cells. It can't add new ones (or change a td into a th or vice-versa). Ticket left open to do that sometime.

comment:5 Changed 6 months ago by gogo

Note for me, Xinha.prototype.convertNode would be used to swap td/th

comment:6 Changed 6 months ago by gogo

  • Resolution set to fixed
  • Status changed from assigned to closed

[1379] Adds ability to swap td/th through the row/cell properties dialog.

Note: See TracTickets for help on using tickets.