Hello, I have a products page where I return all the values from my product item, it has a title, subtitle, image, and description. The string title and subtitle works fine, as does the image, but when I return the description, which is a Richtext editor, the text won't align and all stays in one line, even if I align the text in the Richtext editor itself.
All the text is on one line. I have to use the Html.Raw method otherwise tags will be included, but the result is the same if I render the pure string as well. Any fixes for aligning the text and not having it all in one line?
Apparently the reason it all is on one line is because I copy and pasted the text into the richtext editor, if I type it manually it works fine. This still seems pretty inconvenient if you have to put a large amount of text in there ..
Text returned from Richtext editor doesn't align
Hello, I have a products page where I return all the values from my product item, it has a title, subtitle, image, and description. The string title and subtitle works fine, as does the image, but when I return the description, which is a Richtext editor, the text won't align and all stays in one line, even if I align the text in the Richtext editor itself.
My code:
The result for the description:
All the text is on one line. I have to use the Html.Raw method otherwise tags will be included, but the result is the same if I render the pure string as well. Any fixes for aligning the text and not having it all in one line?
Apparently the reason it all is on one line is because I copy and pasted the text into the richtext editor, if I type it manually it works fine. This still seems pretty inconvenient if you have to put a large amount of text in there ..
is working on a reply...