EditLive inserts an empty paragraph tag with non-breaking space ( or  ) in code view when:
- EditLive loads without any content in its body
- Pressing "Enter" key in the design view of EditLive
EditLive prepares the editor by placing an empty paragraph at the start of the empty document, providing a place to position the caret and allow the user to start entering text. If the user chooses to insert a heading tag instead of a normal paragraph, EditLive simply replaces the paragraph with the relevant heading.
The same remains true when a user presses the "Enter" key to create a new line.
Most browsers ignore empty paragraph tags, so to ensure the page displays as the user intended, a non-breaking space is inserted into empty paragraphs.