PDA

View Full Version : copy&paste between Two htmleditor



ragecf
4 Sep 2011, 4:12 AM
Dear all, there is two htmleditor in the same form of my code.

When I input something with line break in htmleditor1, then paste to htmleditor2, the line break will be post for htmleditor 2.

For example:
1. Input in htmleditor 1:

This
is
test

2. copy the above content to htmleditor2:
This
is
test

3. Submit to post, in firebug, the post data is:

htmleditor1 This<br>is<br>test<br>
htmleditor2 This<br>
is<br>
test

Why and how to fix this problem?
Thanks.