Replies: 2 comments
-
using something like placeholder={"line 1\nline 2"} and setting the white-space style to pre worked for me |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
Defining multiline placeholder is not possible with '/n' chars.
I would like to set a property of a placeholder, that has multiline code segment. but non of the chars I though will make a line break wouldn't work (
, /n, so on...)
How would I be able to achieve that goal?
Sample code to reproduce your issue
<AceEditor placeholder="<html>\n<body>\n</body>\n<html>" />
Beta Was this translation helpful? Give feedback.
All reactions