Modify

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)

sample_table.txt (321 bytes) - added by Franz 13 years ago.
Sample wiki for a more complex table

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by Franz

Resolution: fixed
Status: newclosed

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

comment:2 Changed 13 years ago by Itamar Oren

Priority: highnormal
Resolution: fixed
Status: closedreopened

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 13 years ago by Franz

Attachment: sample_table.txt added

Sample wiki for a more complex table

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

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)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Itamar Oren.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.