only append colon to user-pill when at start of composer
by passing position to autocomplete, so completion can depend on where the pill-candidate appears.
This commit is contained in:
parent
2ff2ff0e75
commit
c9572250be
2 changed files with 6 additions and 3 deletions
|
@ -226,7 +226,7 @@ export default class EditorModel {
|
|||
}
|
||||
// not _autoComplete, only there if active part is autocomplete part
|
||||
if (this.autoComplete) {
|
||||
return this.autoComplete.onPartUpdate(part, pos.offset);
|
||||
return this.autoComplete.onPartUpdate(part, pos);
|
||||
}
|
||||
} else {
|
||||
this._activePartIdx = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue