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

Checkbox click clears content or throws #27

Open
alexvcasillas opened this issue Aug 24, 2020 · 0 comments
Open

Checkbox click clears content or throws #27

alexvcasillas opened this issue Aug 24, 2020 · 0 comments

Comments

@alexvcasillas
Copy link

Hello, I'm filling this issue because I'm trying to implement this library into draftjs but I'm having some issues:

  1. Clicking on the checkbox to toggle its state makes the block dissapear.
    1.1. If there's other content than the checkbox block, it will throw with the following error Cannot read property 'mergeIn' of undefined.
  2. When in a checkbox list, if I press "Enter" the next line won't be a checkbox, but a regular block type 🤔

I have a fully working codesandbox (which I'm currently trying to make this work 😄 ) example here which will be helpful in order to check the errors.

Regards,
Alex.

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