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
I am using the decoupled editor to import and edit complex word documents. The performance drops significantly when I extract the data using
onChange={ ( e, editor ) => { const data = editor.getData(); console.log( { data } ); }}
Is there a way to extract data onClick only? TIA
The text was updated successfully, but these errors were encountered:
@maggie-chintaro It'd suggest debouncing onChange callback passed to your Component using custom React hook. Something like that:
onChange
const onDebouncedChange = useDebounce(( e, editor ) => { const data = editor.getData(); console.log( { data } ); }); ... <CKEditor onChange={onDebouncedChange} ... />
Sorry, something went wrong.
No branches or pull requests
I am using the decoupled editor to import and edit complex word documents. The performance drops significantly when I extract the data using
onChange={ ( e, editor ) => {
const data = editor.getData();
console.log( { data } );
}}
Is there a way to extract data onClick only? TIA
The text was updated successfully, but these errors were encountered: