I ran some code in Chrome and encountered an unexpected behavior:
document.execCommand("insertBrOnReturn", false, true);
Even though I've tried setting the last parameter to true or false, the outcome remains the same: new <div>
elements are always added upon pressing return.
Any suggestions on what might be missing here?