Cannot insert a line break on mobile
See original GitHub issueWhat is the current behavior? Describe the bug Cannot insert a line break on mobile even on chrome dev tools responsive view iphone/6/7/8.
I already added the options on tinymce.init
force_br_newlines: true,
force_p_newlines: false,
forced_root_block: '',
Please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tiny.cloud or similar. I tried to duplicate it on fiddle but the page doesn’t do responsive display.
What is the expected behavior?
It should make a line break
on the text content when pressing enter on the keyboard or on mobile.
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE? TinyMCE version 5.3.1 Chrome browser for responsive display dev tools iphone 6/7/8 Windows 10 Tried on physical mobile device android.
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (2 by maintainers)
Top GitHub Comments
I’m also experiencing this on Chrome Canary on Android 11. This is only present on
p
elements, not headings or lists. It seems a new line is added but the cursor doesn’t move down. A new line is inserted as expected only if a space is added at the end of the line.Hey guys, I think this might be related to my issue which I opened in chromium tracker since there is no public Gboard tracker: Issue 1161227 in chromium: Android 11 - Gboard not triggering Enter keypress event on <textarea> in Chrome when there are suggested words in the Gboard suggestion strip
I have tried emailing some Gboard project members directly now and will let you know if I get any feedback. As for the workaround/bugfix, I don’t think there is a simple one - it would be much better if Google fixes Gboard so it works as in 2020 😃
Edit: I also found the same thing reported here: https://issuetracker.google.com/issues/177757645