I have what I think should be a very simple question. How do you put formatted multi-line strings into the quill editor on page load?
I want to use a quill editor to let the user enter json in, but I want to have certain json in the quill field when the user first visits the page. However, I can't seem to have the json formatted in any specific way. Pasting the json into the HTML div itself obviously eats all the white space, and I've been unsuccessful in using any kind of multi-line string in javascript.
It's gotta be something quill can do, as almost all of the quill fields in their documentation use multi-line formatted strings. How do they do it?
P.S. I know asking the user to enter JSON sounds strange, trust me, for this project, it's a requirement. This is not for a public site.