Table block
I don't see any basic blocks that you can create a table. Even if I do the block, it is impossible to edit the text. Block example
bm.add("table", {
category: 'Basic',
attributes: { class: "fa fa-table" },
label: "Table",
content: `<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>`
});
with this option I can't modify the content of each td and they don't give me the options to duplicate columns or rows.
@artf you plan to create a table block?
enveloping the th text in a paragraph, works well. but as I said before you plan to add custom table options, for the borders and general table color.
@chiqui3d hi,can you tell me how to deal with table-block
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.