coderedcorp / coderedcms

Wagtail + CodeRed Extensions enabling rapid development of marketing-focused websites.
https://www.coderedcorp.com/cms
Other
685 stars 133 forks source link

Add Tables number Row And Collumns #634

Open richierh opened 4 months ago

richierh commented 4 months ago

I want to know if there is a way to make template of creating Table available for certain number of row and collumns without changing the default template . I want to have other template of tabling with certain number of rows and collumns

vsalvino commented 4 months ago

Our table block is currently not customizable. It is actually a very thin wrapper around the stock Wagtail table block:

https://github.com/coderedcorp/coderedcms/blob/19d9f2b8c0d02b8d8f3a3f9e84208c1279656aa5/coderedcms/blocks/html_blocks.py#L169-L175

I'd recommend looking into the Wagtail Table block, and possibly try asking on the Wagtail slack channel (https://wagtail.org/slack/) to see if others have had success customizing it.