react-confirm-alert icon indicating copy to clipboard operation
react-confirm-alert copied to clipboard

Line-returns seem to be ignored

Open patternhelloworld opened this issue 6 years ago • 0 comments

When a text which line-returns(\n) are inserted in, is inserted into the react-confirm-alert message property, they all get removed. In the Custom UI mode, I managed to solve the issue by replacing '\n' to a br tag, but not the Custom UI mode, I couldn't. I would like to both use your default css and apply line-returns. In the Custom UI mode, no css applied. It is like full of white stuff.

patternhelloworld avatar Dec 06 '19 06:12 patternhelloworld