Product description doesn't create p tag when adding a single line of text (still an issue in 2.0)

It seems that Shopify requires a return before it formats the text in the description field. This has been a longstanding issue that I’d have hoped was resolved in 2.0.

We often use the description field for our brief product description, typing a single line of text with no returns.

It’s rather annoying to have to explain to clients why their text isn’t rendering correctly, or to otherwise go in and fix it ourselves. This is not “Fun”. Please fix.

Hi @jSun

Thank you for sharing your feedback with us on the rich text field in the product description.

I tested this out myself and was able to replicate it. Upon further review I was able to confirm that this is an expected behavior. Text in the rich text editor does not automatically get wrapped in a

tag until the return/enter key is pressed. The enter key denotes the end of a block of text, which then creates the paragraph tag. If you use the “shift+enter” key instead of a

tag wrap you will end up with a
(break) tag instead.

If you do not supply the

tag manually, text without an enter at the end will go in as plain text. All three forms of a block of text are suitable in the text field.

Hey @Shay ,

Can you please explain why this is expected behavior?

The issue is that many of our clients don’t know that the p tag isn’t being generated. This isn’t something that is intuitive. This creates rendering issues, as we expect all text from the description to use proper markup – not plain text.

Even this editor that I’m using to respond to you behaves how I want. Try it yourself. Start a response, type one line of text, then click the HTML button. You should see that your text is wrapped in a p tag.

Thanks

1 Like

This is so bad, I copy and paste 3 paragraphs, and the HTML looks like complete garbage.

You copy one word from one place to another and it wraps it in seriously this is so ridiculous, just swap to another open-source editor which is not MCE, MCE is complete garbage.