# How to preserve \<br\> tags in empty paragraphs

**URL:** https://discuss.prosemirror.net/t/how-to-preserve-br-tags-in-empty-paragraphs/2051
**Category:** Uncategorized
**Created:** [July 1, 2019, 2:38pm UTC](https://discuss.prosemirror.net/t/how-to-preserve-br-tags-in-empty-paragraphs/2051 "2019-07-01T14:38:53Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [July 3, 2019, 10:55am UTC](https://discuss.prosemirror.net/t/how-to-preserve-br-tags-in-empty-paragraphs/2051/3 "2019-07-03T10:55:01Z")

</div>

The `<br>` nodes in empty textblocks are a standard kludge in editable content to make sure empty blocks show up and avoid weird cursor issues. ProseMirror doesn’t add them to the actual document content, but just renders them in the editable view. Making the paragraphs show up when rendered outside the editor is a separate problem, which you could fix with, for example, a css rule using the `:empty` pseudoselector.

---

_[View the full topic](https://discuss.prosemirror.net/t/how-to-preserve-br-tags-in-empty-paragraphs/2051)._
