package
This commit is contained in:
parent
cbd29bc541
commit
d386d4c6a1
125 changed files with 3861 additions and 3761 deletions
|
|
@ -1812,7 +1812,8 @@ var Document = function(text) {
|
|||
|
||||
position = this.$clipPosition(position);
|
||||
|
||||
if (this.getLength() >= 1)
|
||||
// only detect new lines if the document has no line break yet
|
||||
if (this.getLength() <= 1)
|
||||
this.$detectNewLine(text);
|
||||
|
||||
var lines = this.$split(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue