I have a description field which used html editor to let user fill in what they want.
When they copy text somewhere with table style with width more than the width of that container(430px),
text inside that table will be expand outside the container.
Anyway to fix it?
<div class=“templatetext comment-text” style=“”>
<!-- START description field –>
<p>
</p>
<span>
<table border=“0” cellpadding=“0” cellspacing=“0” style=“width:448px;” width=“448”>
<tbody><tr><td>TEXT HERE</td></tr></tbody>
</table>
</span>
<!-- END description field –>
</div>
I did added css below but same situation :
<style>
.comment-text {
width:407px;
word-wrap: break-word;
}</style>