How do I write a multi-line placeholder. In particular with the writer field (just in case)
This:
writing:
type: writer
placeholder: >
blah
blah
blah
…appearas inline as “blah blah blah” in the field.
Thanks
How do I write a multi-line placeholder. In particular with the writer field (just in case)
This:
writing:
type: writer
placeholder: >
blah
blah
blah
…appearas inline as “blah blah blah” in the field.
Thanks
I did some research, look at these fields declaration…
writer:
type: writer
placeholder: |
blah
blah
blah
text:
type: text
placeholder: |
blah
blah
bleh
textarea:
type: textarea
placeholder: |
blah
blah
bleh
… and how they render …
Is this intended ?
I see how in a text field we may expect lr to be turned into nothing, but why would writer field turn them into spaces ?
I also looked at how each field stores text in the content file:
----
Writer: <p>blah</p><p>blah</p><p>blah</p>
----
Text: blah blah blah
----
Textarea:
blah
blah
blah
----
I then tried writing the placeholder for the writer field using p tags, but they just show.
Sooo… what’s the deal?
Thanks
I opened a bug report.