Hi Guys
I am using TinyMCE editor and using ajax POST to send the data to the server. I have come across a problem when making spaces between my text in the editor. If for example I do:
Hi there
testing
mesting
It will work perfectly fine and send all the proper data to the server. Whereas on the other hand if I do:
Hi there
testing
mesting
It will only send the first line ("Hi There") to the server and thus only the first line of text gets saved into the DB. Does anyone know why this is happening ? My code is below: