onChange事件。我想保留readOnly模式,但是它必须触发onChange事件,以便我保存我的工作。
<Editor
readOnly={true}
onChange={this.onChange}
ref={(e) => { this.editor = e; }}
autoCapitalize="none"
autoComplete="off"
autoCorrect="off"
spellCheck={false}
/>