Shift+Enter inserts newlines instead of line-breaks?
See original GitHub issueI 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:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great. Thank you very much for the help!
Amazing editor by the way!
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.