We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54f4be4 + 22a6147 commit 549f5cfCopy full SHA for 549f5cf
src/component/editor.js
@@ -81,7 +81,7 @@ function inputEventHandler(evt) {
81
resetTextareaSize.call(this);
82
this.change('input', v);
83
} else {
84
- evt.target.value = '';
+ evt.target.value = cell.text;
85
}
86
87
this.inputText = v;
src/core/row.js
@@ -106,7 +106,7 @@ class Rows {
106
107
setCellText(ri, ci, text) {
108
const cell = this.getCellOrNew(ri, ci);
109
- cell.text = text;
+ if (cell.editable !== false) cell.text = text;
110
111
112
// what: all | format | text
0 commit comments