mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fixing bug where lists get deleted when pressing enter
This commit is contained in:
parent
23cda77b65
commit
18dc111010
1 changed files with 1 additions and 3 deletions
|
@ -83,9 +83,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
if(hasMarker){
|
if(hasMarker){
|
||||||
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]), [
|
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]));
|
||||||
[attributeName, attributeValue]
|
|
||||||
], this.rep.apool);
|
|
||||||
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
|
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue