diff --git a/javascripts/discourse/components/spreadsheet-editor.js b/javascripts/discourse/components/spreadsheet-editor.js index c8bd7ec..3a85dbe 100644 --- a/javascripts/discourse/components/spreadsheet-editor.js +++ b/javascripts/discourse/components/spreadsheet-editor.js @@ -10,9 +10,6 @@ export default Component.extend({ didInsertElement() { this._super(...arguments); - // ? TODO move to component (read about not allowing Controllers to do DOM manipulation) - this._super(...arguments); - this.loadLibraries().then(() => { this.buildTable(this.tableHtml); }); diff --git a/javascripts/discourse/templates/components/spreadsheet-editor.hbs b/javascripts/discourse/templates/components/spreadsheet-editor.hbs index e56290c..c8108a0 100644 --- a/javascripts/discourse/templates/components/spreadsheet-editor.hbs +++ b/javascripts/discourse/templates/components/spreadsheet-editor.hbs @@ -3,9 +3,6 @@ @class="table-editor-modal" > {{! TODO: Parse .md to json and fill table }} - {{! TODO: Fix instances where multiple tables in a single post }} - - {{! TODO better id name }}