Opened 13 years ago
Last modified 13 years ago
#8850 reopened enhancement
Support for tables
Reported by: | Itamar Oren | Owned by: | Itamar Oren |
---|---|---|---|
Priority: | normal | Component: | CkEditorPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Best effort - convert HTML tables to wiki-tables, always try simplest form first (so users using source-editing are not overwhelmed...)
Attachments (1)
Change History (4)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 13 years ago by
Priority: | high → normal |
---|---|
Resolution: | fixed |
Status: | 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 ||
comment:3 Changed 13 years ago by
Replying to itamarost:
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)
(In [10922]) fixes #8850, #8851, #8852: implemented a lot of new functionalities, so named this version
1.1dev