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

onChange event losses focus everytime #14

Open
faisalfaisi91 opened this issue Jan 10, 2023 · 0 comments
Open

onChange event losses focus everytime #14

faisalfaisi91 opened this issue Jan 10, 2023 · 0 comments

Comments

@faisalfaisi91
Copy link

When I type something, for every single change, I am losing focus of the cursor and it moves to the start of the editor. I am using react/typescript.

<JoditReact onChange={(htmlcontent) => setContent(htmlcontent)} config={editorConfig} defaultValue={editorContent} />

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

1 participant