Why does text lose its formatting?
What the issue is
You may have noticed that if you highlight text within a text content block, delete it, and start typing, the text loses its previous formatting. This can be frustrating and we have received many support requests about it.
This article provides some context about this issue and some simple tips to get around it.
Why it exists
This is not a bug in BEE, but rather a default behavior in the text editor that BEE uses, called TinyMCE. If you highlight and remove the entire text content block, this issue will always occur. However, if there is at least one line break in the content, you can avoid this behavior by only removing one line or paragraph at a time.
Let's look at an example.
In this case, we have a text block with a title and no line breaks. If you select and remove "Check out these sweet deals!", the formatting of the block is lost. Generally, this means that your text reverts back to 12px.
The behavior changes as soon as you insert a second paragraph or line of text.
By removing and replacing text for each line individually, the formatting is retained.
How to avoid the problem
To avoid losing text formatting that you are selecting and need to replace with new text, you have a few options:
- Don't remove the entire text in the paragraph. Keep a bit of it, type what you need, then remove the text that should not be there.
- Press "Enter" to create a new paragraph, highlight, and type. Then remove the new paragraph (an empty paragraph is fine).
We hope this helps!
Comments
0 comments
Please sign in to leave a comment.