We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handleChange = (e) => { console.log(e.editor.getData()); this.setState({ data: e.editor.getData() }); }; <CKEditor onBeforeLoad={(CKEDITOR) => { return (CKEDITOR.disableAutoInline = true); }} data={this.state.data} type="classic" onChange={this.handleChange} config={{ extraPlugins: "easyimage", removePlugins: "image", cloudServices_tokenUrl: "https://your-token-url", cloudServices_uploadUrl: "https://your-url" }} />
The Change event should be fired in both situations:
src
<img alt="" src="blob:https://...
The Change event is only fired when image src attribute is set to blob e.g. <img alt="" src="blob:https://...
The text was updated successfully, but these errors were encountered:
There is an ugly workaround. Careful as it may hurt your eyes when looking but at least it gets the job done:
handleChange = (e) => { const that = this; const data = e.editor.getData(); if( data.indexOf('blob:https')>=0 ) { const interval = setInterval(function(){ const newData = e.editor.getData(); if(newData.indexOf('blob:https')< 0) { console.log( newData ); that.setState({ data: newData }); clearInterval(interval); } }, 500); } }
Sorry, something went wrong.
No branches or pull requests
Are you reporting a feature request or a bug?
Provide detailed reproduction steps (if any)
Expected result
The Change event should be fired in both situations:
src
attribute is set to blob e.g.<img alt="" src="blob:https://...
src
attribute value is changed from blob to standard URLActual result
The Change event is only fired when image
src
attribute is set to blob e.g.<img alt="" src="blob:https://...
Other details
The text was updated successfully, but these errors were encountered: