question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot insert a line break on mobile

See original GitHub issue

What 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:open
  • Created 3 years ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
johns2scommented, Dec 24, 2020

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.

2reactions
markostamcarcommented, Jun 8, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Type Return / Insert Line Breaks on TikTok, Twitter, or ...
Type in the text as you desire and when you're reading to insert a line break, tap on the “123” key at the...
Read more >
Line break in Word Android - Microsoft Community
If you would like to insert a line break, follow these steps: Click Style. Choose No Spacing. Hit Tap from the on-screen keyboard...
Read more >
Line break on mobile phone only - Stack Overflow
So how can I create a line break that will only work on a mobile device sized screen? I am not very experienced...
Read more >
How to Insert Break Line on Google Sheet Mobile - YouTube
here how to insert break line Google Sheet Mobile #googlesheets #breakline. ... Your browser can't play this video. Learn more. Switch camera.
Read more >
How Do You Insert Line Break in Excel | SoftwareKeep
Double-click the cell you want to insert a line break in, click the location where you want to break the line, Press ALT+ENTER...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found