Skip to content
New issue

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

CK editor instance initializing many time. #75

Open
Gajesh-LH opened this issue Sep 25, 2019 · 2 comments
Open

CK editor instance initializing many time. #75

Gajesh-LH opened this issue Sep 25, 2019 · 2 comments

Comments

@Gajesh-LH
Copy link

Gajesh-LH commented Sep 25, 2019

  • When I am populating value from other sources on CK editor than it is initializing on every value update.

  • But when I am typing then it is working properly.

Here is Demo Link

@codeslayer1
Copy link
Owner

Please share the code you are using to import CKEditor in your project

@Gajesh-LH
Copy link
Author

import CKEditor from 'react-ckeditor-component';

<CKEditor
       scriptUrl="/static/JS/ckeditor/ckeditor.js"
       content={this.props.value}
       config={{height: 50, autoGrow_minHeight: 50, bottom: 0}}
        events={{
              blur: this.onBlur,
               afterPaste: this.afterPaste,
              change: this.onChange
        }}
 />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants