2016-09-30 61 views
0

文字區域內的文字換行無法正確運行,並且& nbsp。有沒有任何解決方案來完成這項工作。Word Wrap不適用於nbsp和hypen內部的文本區域?

這裏是我的基本代碼:

<textarea id="rteSample" rows="10" cols="30" style="width: 100%; height: 440px"> 
The&nbsp;labrum&nbsp;of&nbsp;the&nbsp;hip&nbsp;is&nbsp;a&nbsp;dense&nbsp;fibrocartilagenous&nbsp;structure,&nbsp;much&nbsp;like&nbsp;the&nbsp;meniscus&nbsp;of&nbsp;the&nbsp;knee.&nbsp;It&nbsp;is&nbsp;situated&nbsp;inside&nbsp;the&nbsp;hip&nbsp;joint-capsule&nbsp;and&nbsp;attached&nbsp;non-magnet&nbsp;the&nbsp;pelvic&nbsp;side&nbsp;of&nbsp;the&nbsp;hip&nbsp;joint.&nbsp;It&nbsp;effectively&nbsp;increases&nbsp;the&nbsp;depth&nbsp;of&nbsp;the&nbsp;acetabulum&nbsp;and&nbsp;provides&nbsp;for&nbsp;a&nbsp;smooth&nbsp;transition&nbsp;from&nbsp;the&nbsp;acetabulum&nbsp;to&nbsp;the&nbsp;capsule.&nbsp;A&nbsp;labral&nbsp;tear&nbsp;is&nbsp;a&nbsp;disruption&nbsp;of&nbsp;the&nbsp;continuity&nbsp;of&nbsp;the&nbsp;labrum.&nbsp;It&nbsp;may&nbsp;occur&nbsp;at&nbsp;the&nbsp;pelvis&nbsp;labra-margin&nbsp;or&nbsp;within&nbsp;the&nbsp;substance&nbsp;of&nbsp;the&nbsp;labrum. 

任何人都可以提出你對這個想法?

在此先感謝您的幫助

問候, Keerthana。

+0

你是什麼意思*完全不起作用?我看不出什麼區別 - > https://jsfiddle.net/azizn/aLoxr9sa/ – Aziz

回答