Revert "2377 paste issue fix (#2386)" (#2389)

This reverts commit 60cb5fb9dd.
This commit is contained in:
Mike Ellan 2020-07-10 15:00:38 -04:00 committed by GitHub
parent fad1b671dc
commit 1e9767ad35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,10 +264,10 @@ class OneLineEditor extends PureComponent {
}
if (this._mayContainNunjucks(this.getValue())) {
// return;
return;
}
// NOTE: Temporary fix to address losing values when toggling between CM and traditional input instances
// this.setState({ mode: MODE_INPUT });
this.setState({ mode: MODE_INPUT });
}
_setEditorRef(n) {