Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kris A on Sep 14, 2009 15:44
open dhtmlx forum
new line on carriage return

Currently dhtmlxEditor adds a <p> when carriage return is pressed. I want a <br> to be inserted
I couldnt find this info in the documentation. Please help.

Rgds,
Kris
Answer posted by Alex (support) on Sep 15, 2009 06:28
Editor doesn't provide methods to change this behaviour. <p> tag can be replaced with <br/> in html string that is got by getContent() method. 
Answer posted by Kris A on Sep 15, 2009 08:41

Sorry the above response was a mistake.

I am very disappointed because the normal user would expect CR to cause a newline and wouldnt really go with the shift+CR.