Open angieherrera opened 6 years ago
You can currently pull this off with Verbb’s Super Table plugin. Thought it might be possible for us to get basic rich text formatting in regular Table fields if we can come up with a way to add type-specific settings to columns. (People are going to want some control over the formatting options.)
Yep, Super Table is an option, but only if the tables have predetermined headers. In my example, thankfully they did. But sometimes they don’t; that’s where the Table Maker plugin comes in handy.
On Oct 19, 2018, at 10:29 AM, Brandon Kelly notifications@github.com wrote:
You can currently pull this off with Verbb’s Super Table plugin. Thought it might be possible for us to get basic rich text formatting in regular Table fields if we can come up with a way to add type-specific settings to columns. (People are going to want some control over the formatting options.)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craftcms/cms/issues/3386#issuecomment-431438258, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbAQl2lxH3Y6RtC7x4y60v9bfL_u-k7ks5umgwHgaJpZM4XvUB3.
+1 for richText in tables :)
@brandonkelly any plans to add something like that in the near future. the main thing we need is Links/Bold Text and stuff like that. Maybe Lists. Basic things. That would be great. With the new CK Editor now? 🤔
For v5 maybe
Hiya! Now that Super Table is being phased out for v5 this is even more needed. I have a lot of fields that I was using Super Table for just so I could have more robust field options, not because I needed Matrix-in-Matrix support.
Table fields need a major refactoring to unlock more advanced column types (without going all-in on making rows elements, like Super Table did). Unfortunately it’s not going to be possible without some breaking changes, so it’s slated for v6 now.
Our answer to Super Table for v5 is to use Matrix fields in the element index view, combined with inline editing.
Alright. I would request then a horizontal Matrix field layout option. Right now I'm going from this:
To this:
Also the ability to hide the entry type name, there's way too much unnecessary text now.
@kmgdevelopment You can get it to be more like Super Table by doing the following:
Plain Text and Dropdown field types both support inline editing, so with those changes in place, authors will be able to press the “Edit” button below the table view, and edit nested entries in bulk.
"Display as a table" doesn't seem to be working, I'm still getting card view by default.
Right but it adds the option to switch to table view. (Unless you’re on mobile, which doesn’t allow table views.)
OK I see. This is better but obviously still not ideal from a UX or DX perspective. So yeah a more robust flat table field would still be very useful. Thanks Brandon!
I know it's been stated that if you need formatting in tables, it should be a Matrix field. Unfortunately Matrix isn't exactly compact when it comes to a lot of data. Take this table for example: https://d.pr/i/r4TH9y
That much data would take up loads of screen real estate and be a pain for a client to enter efficiently. So a Table field works best.
In the heading row (which I'd create with the Table Maker plugin), you'll see superscript and subscript text. That is the kind of formatting that would be great to have in tables. For now I'm having to write out the HTML code, which is fine for just headers, but if it were data, that wouldn't exactly be fun, easy or efficient for clients.