Robin Söderholm asked other partners: "What's the best practice way of handling long descriptions in PIM where there are multiple line breaks? I received the question from a client who noticed that the line breaks he added in PIM are gone on the website. Is the solution to split the long texts into multiple fields or is there a better way? How do you guys handle it?"
And he received the following answers:
"I haven't experienced any disappearing of line breaks. If the text is going to be long and with line breaks. I will always at least add the NumberOfRows setting in field settings in cc:
This will make the field more like a text area field.
If the long description is HTML, I would create an HTML template that embeds a TinyMCE or some WYSIWYG editor and add that as an edit template"
"I recommend using Markdown instead of an HTML (WYSIWYG) editor."
Do you have any other tips & tricks?
Please sign in to leave a comment.