I am using the RichTextEditor and couldn't find a way to resolve the below issue: I am getting an extra blank line above and below my text as in the image below:
This is what I get using RichTextEditor:
This is what I want using RichTextEditor:
How can I achieve the above results? Any pointer would be helpful.
Thanks.
More Info: Data is being loaded on from backend on the fly. Below is a sample for a similar TextFlow:
<TextFlow whiteSpaceCollapse=\"preserve\" version=\"2.0.0\" xmlns=\"http://ns.adobe.com/textLayout/2008\">\n <p>\n <span>Some School Name</span>\n </p>\n </TextFlow>