Opened 7 years ago

# Support for tables

Reported by: Owned by: Itamar Ostricher Itamar Ostricher normal CkEditorPlugin normal 0.12

### Description

Best effort - convert HTML tables to wiki-tables, always try simplest form first (so users using source-editing are not overwhelmed...)

### comment:1 Changed 6 years ago by Franz

Resolution: → fixed new → closed

(In [10922]) fixes #8850, #8851, #8852: implemented a lot of new functionalities, so named this version 1.1dev

### comment:2 follow-up:  3 Changed 6 years ago by Itamar Ostricher

Priority: high → normal fixed closed → reopened

Well, table insertion works, but I wouldn't say it suffices to solve this ticket.

It is important that the plugin adheres to simplest-form-first, so it is feasible to edit the table in source mode as well.

For example, a simple 2x2 table with heading (works in 0.12) like this:

Name ID
MyName #1

should take the following simplest form:

||= Name =||= ID =||
|| MyName || #1 ||


### Changed 6 years ago by Franz

Sample wiki for a more complex table

### comment:3 in reply to:  2 Changed 6 years ago by Franz

Well, table insertion works, but I wouldn't say it suffices to solve this ticket.

It is important that the plugin adheres to simplest-form-first, so it is feasible to edit the table in source mode as well.

In my point of view it is most important that all features are implemented. So if you would like to have lists in a table cell, this only works with td-macro. But I haven't known until now that you could mix simple form and td-macro as the uploaded example shows (works in Trac 0.12).

The technical problem is to determine, when it is feasible to use simple table and when you need td-macro. As far as I know there are only these elements, which only works well with td-macro (all listed items are working in current version of CKEditorPlugin):

• ordered and unordered lists in cell
• new table in cell
• multi-lines of code-block
• horizontal line in table cell
• Discussion Citations (is currenlty NOT working in CKEditorPlugin)
• several lines in one cell (can also be managed by adding [[BR]] macro in simple table)

### Modify Ticket

Change Properties