A theme component that allows for easily building and editing of markdown tables in Discourse.
Go to file
Keegan George 414e7e6a84 DEV: Remove `ajax` request as raw post is not needed 2022-07-13 16:00:42 -07:00
.github DEV: Move linting/tests to `/workflows` folder 2022-07-04 18:05:47 -07:00
assets WIP: Use JSpreadsheet instead of Importabular 2022-07-13 15:42:13 -07:00
common WIP: Use JSpreadsheet instead of Importabular 2022-07-13 15:42:13 -07:00
javascripts/discourse DEV: Remove `ajax` request as raw post is not needed 2022-07-13 16:00:42 -07:00
locales WIP: New approach (see description) 2022-07-12 15:27:03 -07:00
mobile INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
scss/vendor WIP: Use JSpreadsheet instead of Importabular 2022-07-13 15:42:13 -07:00
test/acceptance DEV: Add acceptance tests 2022-07-04 18:03:43 -07:00
.eslintrc INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
.gitignore INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
.prettierrc INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
.template-lintrc.js INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
COPYRIGHT.txt INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
LICENSE.txt INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
README.md DOCS: Update known issue list 2022-07-13 11:39:18 -07:00
about.json WIP: Use JSpreadsheet instead of Importabular 2022-07-13 15:42:13 -07:00
package.json INIT: Add base theme component files 2022-07-03 20:47:08 -07:00
settings.yml WIP: New approach (see description) 2022-07-12 15:27:03 -07:00
yarn.lock INIT: Add base theme component files 2022-07-03 20:47:08 -07:00

README.md

Discourse Table Builder

cover

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:

  • 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.