Maintain textarea format #5016
Unanswered
Muradg
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Please tell me, when copying data from the textarea text field into the tiptap editor, new line breaks get lost. For example, if I write in textarea:
–––
one
two
three
–––
And then I copy everything and paste it into the editor - it will do this:
–––
p -> one
p -> two
p -> three
–––
And I need:
–––
p -> one [BR] two
p -> three
–––
That is, I want line feeds from textarea to be saved. If we encounter 2 \n tags, it is perceived as a paragraph. And if there is only one, then a translation to a new line occurs via
Beta Was this translation helpful? Give feedback.
All reactions