sproutcore / rich-text-editor

A rich text editor for SproutCore.
Other
6 stars 6 forks source link

forceLineBreaks -> lineBreakMode #18

Open dcporter opened 10 years ago

dcporter commented 10 years ago

I think I've got the code to a point where it's very reliable at doing <p> line-breaks, so I think it makes sense to allow the developer to choose between that and <div> since it'll be very little extra effort. I'll add <br> as a (still highly experimental) mode with in that, which will allow me to get rid of the annoyingly-named forceLineBreaks.

Any objections?