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

Sometime lists doesn't work #27

Closed
hkmsadek opened this issue Jan 14, 2020 · 5 comments
Closed

Sometime lists doesn't work #27

hkmsadek opened this issue Jan 14, 2020 · 5 comments

Comments

@hkmsadek
Copy link

Hi, some time hitting enter make a new list item and sometime it stuck. Most of the time it stuck after adding some contents such image etc. Sometime, when hit enter nothing happens. Any reason why?

@Phivan
Copy link

Phivan commented Jan 22, 2020

Hello,

I have the same issue, but I guess it's because of this :
codex-team/editor.js#746 (comment)

Any workaround would be nice.

@Farrien
Copy link

Farrien commented Feb 5, 2020

Hello,

I have the same issue, but I guess it's because of this :
codex-team/editor.js#746 (comment)

Any workaround would be nice.

8 May 2019 oh god :(

Also met this bug

@ceesvanegmond
Copy link

Same bug here. The example on the homepage doesn't work either

@solace
Copy link

solace commented Feb 16, 2021

Is there a fix for this yet? #48 has been open since last September. Thanks!

Update:
Ignore the above. The homepage demo works fine, and vanilla works fine.

Two things contributed to the problem for me:

  1. LastPass's onloadwff.js was erroring on enter on list items.
  2. I had a snippet of js on form elements that prevent enter accidentally submitting the form.

Interestingly, $('form') events were being triggered on enter for list items but not others editor blocks. I haven't figured out why this is and just resolved to disable LastPass on the affected site (extension settings This can read and change site data: When you click the extension) and deal with the complaints over accidental form submissions.

You may want to see if JS is doing something on the form (or check the event target for the enter keypress event).

HTH.

@neSpecc
Copy link
Contributor

neSpecc commented Mar 25, 2021

Should be fixed

@neSpecc neSpecc closed this as completed Mar 25, 2021
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

6 participants