Answer the question
In order to leave comments, you need to log in
How can I insert a long text with a large number of lines into the field I need?
I’m making a script in Tampermonkey
, here’s the code in hz, you need to insert a very long text with line breaks
and, accordingly, the text that I insert was displayed like this:
I know that the implementation in Figure 2 is incorrect, it’s just for clarity.
Answer the question
In order to leave comments, you need to log in
Enclose your piece of text in back quotes instead of double quotes :
`text
text
text`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question