<input class= "Easyui-textbox" id= "abc" data-options= "Multiline:true" style= "height:200px;width:350px; White-space:pre-wrap ">
Easyui-textbox This is true when the input text is submitted to the background for saving
But it's like this when it's shown.
But the query out of the data clearly have \ n, easyui-textbox do not recognize it, know the friend please tell me, thank you very much
Baidu had a morning, also did not find Easyui-textbox text wrap effective solution ... Using textarea instead, the effect is as follows
To maintain the overall style of the page, the textarea CSS settings are as follows:
<textarea style= "height:200px;width:350px;" id= "abc" > </textarea>
<style> TextArea {
position:relative;
border:1 px Solid #D4D4D4;
Background-color: #CCE8CF;
Vertical-align:middle;
Display:inline-block;
White-space:pre-wrap;
margin:0;
padding:0;
-moz-border-radius:5 px 5 px 5 px 5 px;
-webkit-border-radius:5 px 5 px 5 px 5 px;
border-radius:5 px 5 px 5 px 5 px;
Font-size:13 px;
} </style>