Text erroneously deleted when using editor on iPhone with ENTER_BR option set
Opened this issue · 2 comments
burtonrhodes commented
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.
- Must be on iPhone (or iPhone simulator) using Safari or Chrome
- Place cursor on empty line with text below Type any text (e.g. "Test") and press ENTER twice
- 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)
RevaJS commented
This has been happening to me for almost 2 years now. It would be wonderful to actually be able to use this feature!
MorganKing23 commented
Yes, I would love for this to be fixed so we can easily write emails from our phones!