9bfc23c599
- Add edit table button (beside expand table button) - Parse the table contents - Display the table as a spreadsheet using the Importabular library |
||
---|---|---|
.github | ||
assets | ||
common | ||
javascripts/discourse | ||
locales | ||
mobile | ||
test/acceptance | ||
.eslintrc | ||
.gitignore | ||
.prettierrc | ||
.template-lintrc.js | ||
COPYRIGHT.txt | ||
LICENSE.txt | ||
README.md | ||
about.json | ||
package.json | ||
settings.yml | ||
yarn.lock |
README.md
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.