utsushiiro hace 7 años
padre
commit
feed538c09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/client/js/components/PageEditor/HandsontableModal.jsx

+ 1 - 1
src/client/js/components/PageEditor/HandsontableModal.jsx

@@ -44,7 +44,7 @@ export default class HandsontableModal extends React.Component {
            *
            *
            * In detail, when this component state changes, React will re-render HotTable because it is passed some state values of this component.
            * In detail, when this component state changes, React will re-render HotTable because it is passed some state values of this component.
            * HotTable#shouldComponentUpdate is called in this process and it call the updateSettings method for the Handsontable instance.
            * HotTable#shouldComponentUpdate is called in this process and it call the updateSettings method for the Handsontable instance.
-           * So, this hook is always called when this component state changes.
+           * After updateSetting is executed, Handsontable calls a AfterUpdateSetting hook.
            */
            */
           afterUpdateSettings: HandsontableUtil.createHandlerToSynchronizeHandontableAlignWith(initMarkdownTable.options.align),
           afterUpdateSettings: HandsontableUtil.createHandlerToSynchronizeHandontableAlignWith(initMarkdownTable.options.align),
           afterSelectionEnd: this.storeSelectedRange
           afterSelectionEnd: this.storeSelectedRange