mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2025-06-14 04:52:11 +00:00
- Add edit table button (beside expand table button) - Parse the table contents - Display the table as a spreadsheet using the Importabular library
Discourse Table Builder
A theme component that adds a button to the composer tools to easily build tables in markdown.
To Do List
- Add table builder functionality
- Possibly add the ability to edit tables
- Add front-end tests
Edit Table Functionality (WIP)
Known Issues:
- Clicking expand table button showing empty modal
- After viewing an edit table modal once, a reload is required for it to work again or with another table, otherwise the following error appears:
You need to pass a node argument to Importabular, like this : new Importabular({node: document.body})
This is possibly due to not having a unique id? Perhaps moving functionality to a component will resolve this.
Description
A theme component that allows for easily building and editing of markdown tables in Discourse.
Readme
3.3 MiB
Languages
Ruby
61%
JavaScript
39%