verbb / vizy

A flexible visual editor for Craft CMS
Other
44 stars 8 forks source link

FR: Easy tables #57

Closed bartrylant closed 1 year ago

bartrylant commented 3 years ago

What are you trying to do? It would be cool if there was a very easy way of making tables in a vizy field. I know I could use the table maker plugin and add it as a block, but for most clients that's a bit of overkill (first defining the number of columns, giving them all a header,…).

I don't know if the vizy text field is based on Redactor or CKeditor? For both, there are plugins available. The Redactor table plugin is a bit cumbersome as it adds a button with lots of text descriptions. The CKeditor table button is great: you can select a number of rows and columns, combine cells, add columns,...

engram-design commented 3 years ago

On my list to do. Vizy is based on tiptap which fortunately has a table node. As you can see from the demo, there's a good amount of UX/UI to sort out, but the functionality is all there.

So expect this sooner rather than later!

danleecpi commented 2 years ago

@engram-design I noticed adding a table in the code view that it gets stripped out and converted to paragraphs currently. Will the table node solve this?

We would be using Tailwind's formatting for the table when contained in the 'prose' class. See their table styles in the demo at the end of the page.

engram-design commented 2 years ago

That’s correct, we need proper support for table markup through a table node.

danleecpi commented 2 years ago

Wonderful - when do you think it would be possible to include this into the plugin?

engram-design commented 2 years ago

No ETA I'm afraid, as I'm prioritising some annoying bugs at the moment, before addressing new features.

anchovy commented 2 years ago

Hi @engram-design any update to this, we'd love to be able to use this feature.

tin-soldier commented 2 years ago

+1. Highly needed.

Loran35 commented 2 years ago

+1 Highly needed too for a migration from an other cms with table tags in html content.

maxstrebel commented 1 year ago

+1 from me. No good alternative in sight 😉

leevigraham commented 1 year ago

To add to the original comment… The table maker plugin doesn't easily allow links in cells.

JshGrn commented 1 year ago

Where is this one in the priority queue, is it still on the back burner?

engram-design commented 1 year ago

@JshGrn Should have this completed very soon.

engram-design commented 1 year ago

Added in 2.1.0