Skip to main content
PHP HTML Editor

Enter key: paragraph or line break

This editor inserts <br> on Enter instead of a new paragraph, as e-mail editors often do.

The PHP for this demo

$editor->config['enterKeyTag'] = 'br';   // p (default), div or br