I can't figure out how to enter a string with a line break in the Firestore web UI. The JavaScript SDK works fine and preserves reading/writing of newlines, but I need to edit some data manually during development, and nothing I'm trying in the UI is working.
I've tried copying and pasting firstline\nsecondline
, firstline\\nsecondline
, and copying the string from a document with two actual newline characters
firstline
second line
I've also tried copying and pasting a unicode linefeed in the center of the string.
Is there a way to enter a string with a newline in the Console UI that I'm missing, or no?
edit: There's a related question here, but it doesn't address how to enter a string with newlines using the console, which is what I'm trying to do.