保留文本框换行和空格

white-space: pre-wrap;
word-wrap: break-word; word-break: break-all;

  

原文地址:https://www.cnblogs.com/js-liqian/p/12034813.html