mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2025-06-26 10:22:30 +00:00
We were relying on the `event.target`, and sometimes that target was not the button element with the `table-id` data attribute, but the svg. This commit makes a few changes: - renames `tableId` to `tableIndex` - passes the index as part of the attributes to the `generateModal` function
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%