When you're in Loree, and you want to add a table to your content, just click on the "Table" option in the elements section:
After you've provided all the necessary information in the window,
simply click on the "Add Table" button, and you'll see a new table
magically appear in your editor, perfectly tailored to your
specifications.
As for our current setup, we've got a variety of
preset options in the secondary element area. But here's the exciting
part: in our new and improved system, there won't be a separate section
for these table options. Instead, when you click on the table icon in
the elements section, a user-friendly popup will greet you. Within this
popup, you can effortlessly specify the number of rows, columns, include
column and row headers, and even provide a caption for your table.
By
default, the table will be set to have 4 rows and 4 columns. Initially,
the "Add Table" button will be inactive, but once you've chosen a
header and added a caption, it will become active, ready for your
creative touch.
Users can create upto 10 rows and columns at a time now as shown below:
The caption field allows you to include
any characters, numbers, and special characters you need to provide a
descriptive title or explanation for your table:
The caption field does not accept empty spaces as valid input, as it is designed to only accept characters, numbers, and special characters for providing a descriptive title or explanation for your table.
Users have the ability to select an individual cell and apply borders specifically to that cell. Additionally, they select multiple cells and apply borders to all of them at once and should also have the option to select an entire row or column and apply borders to the selected row or column.
The default border value for table cells is set to 1px solid #a5a5a5.
This means that when you add a border to a table cell, it will be a
solid line with a thickness of 1 pixel and a color code of #a5a5a5.
By default, our freshly minted tables will be in a collapsed state.
However, here's the neat part: the border-collapse property is a dynamic
one, and it adjusts based on the table you select. This means that
sometimes the tables will have a separate border, and we need to
identify and apply it accordingly.
Once the user changes the option to separate, the border-collapse property will be changed to separate as well.
Collapse and Separate View: