richeditor-android icon indicating copy to clipboard operation
richeditor-android copied to clipboard

support table

Open Labradors opened this issue 8 years ago • 1 comments

How does this support table?

Labradors avatar May 28 '16 02:05 Labradors

You can insert html code for table support. Eg.

var tableText = "<br><table style=\"border-collapse:collapse\">" for (r in 0..rows) { tableText += "<tr>" for (c in 0..columns) { tableText += if (r == 0) { "<td style=\"border: 1px solid black ;\">Col $c</td>" } else { "<td style=\"border: 1px solid black ;\"></td>" } } tableText += "</tr>" } tableText += "</table>"

davidhowe avatar Apr 02 '22 16:04 davidhowe