how to remove extra whitespace or a paragraph tag generated by ckeditor?
- by user66862
I am using CK editor to post the content. When I just type a simple text manually, It just appears as it was.But the problem is when I copy the test from other websites like wikipedia, an empty paragraph is rendered in the beginning of the string, which is making my page look odd. I have tried using trim,and preg_replace. But I did not find any solution.
Please suggest some method to overcome this issue..
Thanks