commitTextEdit compared prevText from the scene graph node, but syncText already updates the node on every keystroke during editing. This made prevText === newText, so the undo entry was never pushed. Fix: capture the original text when startTextEditing is called and use that snapshot for the undo comparison. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| package.json | ||
| tsconfig.json | ||