瀏覽代碼

enable hottable

jam411 3 年之前
父節點
當前提交
346e82d46f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/app/src/components/PageEditor/HandsontableModal.jsx

+ 3 - 3
packages/app/src/components/PageEditor/HandsontableModal.jsx

@@ -470,8 +470,8 @@ export default class HandsontableModal extends React.PureComponent {
             </Collapse>
           </div>
           <div ref={(c) => { this.hotTableContainer = c }} className="m-4 hot-table-container">
-            {/* <HotTable
-              ref={(c) => { this.hotTable = c }}
+            <HotTable
+              // ref={(c) => { this.hotTable = c }}
               data={this.state.markdownTable.table}
               settings={this.handsontableSettings}
               height={this.state.handsontableHeight}
@@ -481,7 +481,7 @@ export default class HandsontableModal extends React.PureComponent {
               beforeColumnResize={this.beforeColumnResizeHandler}
               afterColumnResize={this.afterColumnResizeHandler}
               afterColumnMove={this.afterColumnMoveHandler}
-            /> */}
+            />
           </div>
         </ModalBody>
         <ModalFooter className="grw-modal-footer">