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

Text erroneously deleted when using editor on iPhone with ENTER_BR option set #4757

Open
burtonrhodes opened this issue Mar 8, 2024 · 0 comments

Comments

@burtonrhodes
Copy link

burtonrhodes commented Mar 8, 2024

Expected behavior.

Pressing enter within the editor when using ENTER_BR should create a new line in iOS Safari

Actual behavior.

When pressing enter (twice) in iPhone browsers (tested in Safari and Chrome) when using Froala option "enter: ENTER_BR", the text below is deleted.

Steps to reproduce the problem.
  1. Must be on iPhone (or iPhone simulator) using Safari or Chrome
  2. Place cursor on empty line with text below Type any text (e.g. "Test") and press ENTER twice
  3. The text below is deleted
Editor version.

Froala v4.1.4

OS.

iOS 17.4 (also was happening on previous versions)

Browser.

Bug reproducible on iOS Safari and iOS Chrome

Recording.

https://www.loom.com/share/81c8a12d88cd46d3861ec043035aa620?sid=fdf2f906-129b-498d-80ee-4017d1b84323

jsFiddle.

https://jsfiddle.net/burtonrhodes/6zqeLrcs/

Embedded jsFiddle (to test with iPhone or iPhone simulator)

https://www.aframesoftware.com/froala_test/

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