mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Allow a return keypress in a list on the last line of a pad to create a new
line.
This commit is contained in:
parent
0713553906
commit
778e1e4641
1 changed files with 1 additions and 1 deletions
|
@ -3384,7 +3384,7 @@ function Ace2Inner(){
|
||||||
renumberList(lineNum + 1);//trigger renumbering of list that may be right after
|
renumberList(lineNum + 1);//trigger renumbering of list that may be right after
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (lineNum + 1 < rep.lines.length())
|
else if (lineNum + 1 <= rep.lines.length())
|
||||||
{
|
{
|
||||||
performDocumentReplaceSelection('\n');
|
performDocumentReplaceSelection('\n');
|
||||||
setLineListType(lineNum + 1, type+level);
|
setLineListType(lineNum + 1, type+level);
|
||||||
|
|
Loading…
Reference in a new issue