#30 - Improved Comcode table handling
| Identifier | #30 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Improved Comcode table handling |
| Status | Closed (rejected) |
| Tags |
Risk: Creates Comcode incompatibility (custom) |
| Handling member | Chris Graham |
| Addon | core_rich_media |
| Description | Make sure Composr has perfect conversion of HTML tables that the WYSIWYG editor can make to Comcode, including width, border, colspan, and rowspan settings.
Comcode supports true-tables and fake-tables that are made out of divs. Improve fake-tables a lot, and make it so in WYSWIYG they are represented as real tables. Make sure they can be identified via CSS too (i.e. they have a class). [The summary attribute is used to identify if a table will be real or false.] Ideally our fake tables would render with the CSS table model. But this doesn't work on IE6 and I think also IE7. So we need to keep rendering using CSS. What we do is we wrap each row in a "float_surrounder". Fake tables can't have borders like a real table can, so we have to make sure the editor can't set them as they'd just be lost. Make our default start pages, and those created by the Setup Wizard, use false tables, rather than custom div structures as they currently do. This allows people to modify them much more easily - i.e. as tables in the WYSIWYG editor. By default, using a Javascript hack, make it so standard boxes in a fake table are given equal height. There's no CSS way to do this so JS is the next best thing. It's not an important visual effect so I am happy to rely on JS for it. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet