请参考以下代码:
- var oldFTPExe = GC.Spread.Sheets.FormulaPanel.Commands.commitContentToActiveCell.execute
- GC.Spread.Sheets.FormulaPanel.Commands.commitContentToActiveCell.execute = function(editor, option, isUndo){
- console.log(editor.text())
- return oldFTPExe.apply(this,arguments)
- }
复制代码 |