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.

Shift+Enter inserts newlines instead of line-breaks?

See original GitHub issue

I noticed a strange behavior in my local testing. Using the Shift+Enter combination inserts a new line instead of a line-break (<br>) element. This differs from the line-break tool which does correctly insert the <br>.

Am I missing something? Is this a configuration option?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shawnlehnercommented, May 29, 2016

Great. Thank you very much for the help!

Amazing editor by the way!

0reactions
anthonyjbcommented, May 29, 2016

Quick experiment and I think the cause is that the shift+enter key isn’t triggering a modify event against the text element so when you save it returns an out of date version of the content. Thanks for the spot. Will push out a fix in the next release tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hard Line Break (Return) vs. Soft Line Break (Shift+Enter) - HUB
Use a Soft Line Break (Shift+Enter) to create a line of space in the list where the note can be added. How can...
Read more >
Issues with inserting Shift + Enter line breaks - Bug Reports
It's like it's copying that line break even though I stop at the end of the line of text. I even tried copying...
Read more >
Paragraphs and Line Breaks - Mintox
In this article we will go over the difference between a paragraph and a line break and how to insert each one. Paragraphs...
Read more >
Shift + Enter no longer adds a new line in Visual Studio
Go to Tools/Options/Environment/Keyboard . Switch the "Use new shortcut in:" dropdown to "Text Editor". Pick the Edit.BreakLine command.
Read more >
Binding Shift-Enter to insert a newline without evaluating the ...
The easy answer is to type Ctrl + V Ctrl + J . Binding Shift + Return to Linefeed makes it send ^J...
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