Changing the way line breaks are handled


#1

Is there a way I can set every single new line to use <br> tags and every double new lines to use <p> tags as the default behavior for treating new lines?


#2

You could bind enter to a command that inserts a hard break, except when directly after a hard break, in which case it remove the hard break and splits textblocks instead.