Hi Mad,
I've played around with the new Blocks-Feature and I've some ideas for furture improvement 😀 :
Add Text
If you use the Block-type "Add Text" and you set a line break <br>
(pressing Shift + Enter) and delete the new line again there is always a <br>
at the end of the paragraph <p>
. That means a paragrpah look like this:
With line break:
<p>First line<br> Second line</p>
After deleting the second line:
<p>First line<br></p>
Also deleting the second line with the delete key will not delete the unnecessary <br>
at the end of the paragraph. The same behavior can also be seen with tables, if a line break is deleted again.
Add Table
I've seen that this function generates a table where every table cell is wrapped with the table header tag <th>
.
<table>
<tr>
<th>Header Column 1</th>
<th>Header Column 2</th>
</tr>
<tr>
<th>Content Line 1 Column 1</th>
<th>Content Line 1 Column 2</th>
</tr>
</table>
I think it would be a better semantic code if <th>
will be only used for the first line of a table for the table header. All other lines should use the tag <td>
like:
<table>
<tr>
<th>Header Column 1</th>
<th>Header Column 2</th>
</tr>
<tr>
<td>Content Line 1 Column 1</td>
<td>Content Line 1 Column 2</td>
</tr>
</table>
Thanks!