You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe a bug
On mobile, it seems that the default behavior is if you press Enter once, it creates a new line. If you press enter twice , it creates another new line. However, if you press Enter a third time, it creates a new block at the top of the editor.
Steps to reproduce:
On a mobile device (I am using pixel 7) go to the [editorjs.io demo](https://editorjs.io/) page.
Type a few test words on the first line
Press enter once (adds a soft line break - perfect)
Press enter twice (adds a soft line break - great)
Press enter a third time (add a new block at top of the editor - bad)
Expected behavior: Add yet another soft line break.
Screenshots:
Device, Browser, OS: Google Pixel 7, Chrome browser.
Editor.js version: I am using the latest version in my application, but as I mentioned, this happens on your demo also.
Plugins you use with their versions: I have a custom plugin + underline. But as mentioned, easy to replicate on your demo.
The text was updated successfully, but these errors were encountered:
ARH3
changed the title
Pressing enter multiple times on mobile = block added in the wrong spot (above instead of below)
Pressing enter multiple times on mobile = block added in the wrong spot (top of editor)
Feb 23, 2023
Describe a bug
On mobile, it seems that the default behavior is if you press Enter once, it creates a new line. If you press enter twice , it creates another new line. However, if you press Enter a third time, it creates a new block at the top of the editor.
Steps to reproduce:
[editorjs.io demo](https://editorjs.io/)
page.Expected behavior: Add yet another soft line break.
Screenshots:
Device, Browser, OS: Google Pixel 7, Chrome browser.
Editor.js version: I am using the latest version in my application, but as I mentioned, this happens on your demo also.
Plugins you use with their versions: I have a custom plugin + underline. But as mentioned, easy to replicate on your demo.
The text was updated successfully, but these errors were encountered: