Reputation: 305
Essentially, I want to put multiple lines of text in one Editor class, a template of sorts.
I have tried just putting the plaintext of what I want in but it comes out in one line.
<Editor
Text="
Dear Blank,
How are you today?
I'm fine if you were wondering" />
I would like the text entry to have
Dear Blank,
How are you today?
I'm fine if you were wondering
But it comes out as
Dear Blank, How are you today? I'm fine if you were wondering
In the text entry box/ editor class in my app.
Upvotes: 1
Views: 281
Reputation: 15011
as
\r, CR:
\n, LF:
The easiest way you could change your text like this:
<Editor
Text="Dear Blank, How are you today? I'm fine if you were wondering"/>
add
behind the string which you want
Upvotes: 0