Editing: An insert table option

The edit box could do with an “insert table” option.

2 Likes

Oldschool…but useful for structured data and tabulation.

Is it possible as a feature?

There is nothing wrong with tables and are still as useful today as they were when invented.

The CSS guys younger than me would disagree…and I expect them to. It could potentially break their layout.

So I would say this would make for an amazingly specific plugin.

There was a discussion about adding CKEDITOR to discourse it was kind of a lighting rod subject and you can read it here.

While it is more that a, ‘can we add tables’ situation you can get a vibe on what html would do to mark up.

Hmm… I think I will let brighter minds chime in at this point.

Great topic for discussion as it is so specific.

Tables are also often useful for wiki articles and other such posts.

Sometimes tables are good for displaying, ermm, tabular data.
Closest alternative I know is to use pre tags to retain tabs to keep things in their respective column. eg.

name	date	count
guru	Fred	Aug	12
noob	Ted	Oct	34
pest	Ned	Jan	3
1 Like

Alternative workaround:

If you install MathJax Plugin it will be possible to “draw” tables in LaTeX

Simple:

\begin{array}{c|cc}
\hline A & B & C\\
\hline D & E & F\\
\hline
\end{array}

gives:

One can even go mad and nest them in weird configurations such as:

$$\begin{array}{c} \begin{array}{cc} \begin{array}{c|cccc} \text{min} & 0 & 1 & 2 & 3\\ \hline 0 & 0 & 0 & 0 & 0\\ 1 & 0 & 1 & 1 & 1\\ 2 & 0 & 1 & 2 & 2\\ 3 & 0 & 1 & 2 & 3 \end{array} & \begin{array}{c|cccc} \text{max}&0&1&2&3\\ \hline 0 & 0 & 1 & 2 & 3\\ 1 & 1 & 1 & 2 & 3\\ 2 & 2 & 2 & 2 & 3\\ 3 & 3 & 3 & 3 & 3 \end{array} \end{array} \\ \begin{array}{c|cccc} \Delta&0&1&2&3\\ \hline 0 & 0 & 1 & 2 & 3\\ 1 & 1 & 0 & 1 & 2\\ 2 & 2 & 1 & 0 & 1\\ 3 & 3 & 2 & 1 & 0 \end{array} \end{array}$$

2 Likes

And then you try to put floating text into your table, expecting that it has sensible auto-sizing for rows and columns… and then you cry. You might even re-write your paper in , until you get to the point where it gets mathy… and then you cry.

6 Likes

Lol…too funny.

I think simple tables are useful for my backend duties. But when I tangle with CSS folks cognitive dissonance on tables creates polarity.

It weird and I don’t understand why they are all consumed with the kill tables with fire mindset…

When it comes to markup then I draw a total blank. I don’t think a markup solution exists…I could be wrong.

Sometimes you just have to get things done.

Tables can get it done simply (not elegantly).

An alternative and more general way to show tables inside a post by including external ressources, like it is allready done in a web-link preview.