substance / surface

A building block for web-based text editors

Home Page:http://sandbox.substance.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New lines are not considered

michael opened this issue · comments

Since the surface uses jQuery.text() for extracting the content, newlines are always lost. We need to find a way to read out the contents of the current surface preserving the newlines, which can be represented as a new div or with a
tag.